forked from phoedos/pmd
any case http
This commit is contained in:
Sergey
committed by
Juan Martín Sotuyo Dodero
parent
0a8870a169
commit
8db5464583
@ -77,7 +77,7 @@ public class VfUnescapeElRule extends AbstractVfRule {
|
||||
final ASTText attrText = attr.getFirstDescendantOfType(ASTText.class);
|
||||
if (attrText != null) {
|
||||
if (0 == attrText.jjtGetChildIndex()) {
|
||||
if (attrText.getImage().startsWith("/") || attrText.getImage().startsWith("http")) {
|
||||
if (attrText.getImage().startsWith("/") || attrText.getImage().toLowerCase().startsWith("http")) {
|
||||
startingWithSlashText = true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user