Commit 6b017b90821482d210e78fcf494076b3f25f9734
1 parent
a4ff5b80
Exists in
master
and in
1 other branch
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 '@'.
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/main/java/br/com/checker/emag/core/ContentEvaluation.java
... | ... | @@ -457,6 +457,7 @@ public class ContentEvaluation extends Evaluation { |
457 | 457 | && !link.getAttributeValue("href").contains("javascript") |
458 | 458 | && !link.getAttributeValue("href").contains("@")) { |
459 | 459 | |
460 | + | |
460 | 461 | /* |
461 | 462 | * int[] codErro = { 400, 401, 402, 403, 404, 405, 406, 407, 408, |
462 | 463 | * 409, 410, 411, 412, 414, 415, 416, 417, 418, 422, 423, 424, 425, | ... | ... |