Whitelisting of http
This commit is contained in:

committed by
Juan Martín Sotuyo Dodero

parent
9abb780da7
commit
0a8870a169
@ -77,7 +77,7 @@ public class VfUnescapeElRule extends AbstractVfRule {
|
|||||||
final ASTText attrText = attr.getFirstDescendantOfType(ASTText.class);
|
final ASTText attrText = attr.getFirstDescendantOfType(ASTText.class);
|
||||||
if (attrText != null) {
|
if (attrText != null) {
|
||||||
if (0 == attrText.jjtGetChildIndex()) {
|
if (0 == attrText.jjtGetChildIndex()) {
|
||||||
if (attrText.getImage().startsWith("/")) {
|
if (attrText.getImage().startsWith("/") || attrText.getImage().startsWith("http")) {
|
||||||
startingWithSlashText = true;
|
startingWithSlashText = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user