Reducing FPs with URLFor

This commit is contained in:
Sergey
2017-02-22 12:59:12 -08:00
parent 553c82baab
commit 78232a9b34

View File

@ -161,7 +161,8 @@ public class VfUnescapeElRule extends AbstractVfRule {
break;
}
if ("$Resource".equalsIgnoreCase(id.getImage())) {
if ("$Resource".equalsIgnoreCase(id.getImage()) || "URLFOR".equalsIgnoreCase(id.getImage()) || "$Site".equalsIgnoreCase(id.getImage())
|| "$Page".equalsIgnoreCase(id.getImage())) {
isEscaped = true;
continue;
}