forked from phoedos/pmd
Whitelisting ObjectType
This commit is contained in:
Sergey
committed by
Juan Martín Sotuyo Dodero
parent
f3c6d15561
commit
18a2480dc9
@ -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;
|
||||
|
Reference in New Issue
Block a user