forked from phoedos/pmd
Reducing FPs with URLFor
This commit is contained in:
Sergey
committed by
Juan Martín Sotuyo Dodero
parent
84f5c6a723
commit
f093132e4e
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user