Commit 6b017b90821482d210e78fcf494076b3f25f9734

Authored by gibran
1 parent a4ff5b80

Adicionado condição que verifica se o link 'href' encontra-se em branco

ex: href="" ou se é um link de email ex: link que contenha '@'.
src/main/java/br/com/checker/emag/core/ContentEvaluation.java
@@ -457,6 +457,7 @@ public class ContentEvaluation extends Evaluation { @@ -457,6 +457,7 @@ public class ContentEvaluation extends Evaluation {
457 && !link.getAttributeValue("href").contains("javascript") 457 && !link.getAttributeValue("href").contains("javascript")
458 && !link.getAttributeValue("href").contains("@")) { 458 && !link.getAttributeValue("href").contains("@")) {
459 459
  460 +
460 /* 461 /*
461 * int[] codErro = { 400, 401, 402, 403, 404, 405, 406, 407, 408, 462 * int[] codErro = { 400, 401, 402, 403, 404, 405, 406, 407, 408,
462 * 409, 410, 411, 412, 414, 415, 416, 417, 418, 422, 423, 424, 425, 463 * 409, 410, 411, 412, 414, 415, 416, 417, 418, 422, 423, 424, 425,