Whitelisting ObjectType

This commit is contained in:
Sergey
2017-02-28 13:36:33 -08:00
committed by Juan Martín Sotuyo Dodero
parent f3c6d15561
commit 18a2480dc9

View File

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