Iterative DotExpression evaluation instead of checking the first one
This commit is contained in:
1 parent
caf27adbc2
commit
d12c1f7fe4
2 files changed
+21
-1
No files matched your search
+3
-1
@@ -392,7 +392,9 @@ public class VfUnescapeElRule extends AbstractVfRule {
|
||||
}
|
||||
|
||||
if (child instanceof ASTDotExpression) {
|
||||
return containsSafeFields((ASTDotExpression) child);
|
||||
if (containsSafeFields((ASTDotExpression) child)) {
|
||||
return true;
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+18
@@ -1,6 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<test-data>
|
||||
|
||||
<test-code>
|
||||
<description><![CDATA[
|
||||
Safe escaped value in repeat
|
||||
]]></description>
|
||||
<expected-problems>0</expected-problems>
|
||||
<code><![CDATA[
|
||||
<apex:page>
|
||||
<apex:outputPanel>
|
||||
<input type="radio"
|
||||
onclick="invokeDoSelectFormat('{!editFormat.recordType.Id}');">
|
||||
</input>
|
||||
</apex:outputPanel>
|
||||
</apex:page>
|
||||
]]></code>
|
||||
<source-type>vf</source-type>
|
||||
</test-code>
|
||||
|
||||
|
||||
<test-code>
|
||||
<description><![CDATA[
|
||||
Safe escaped value in repeat
|
||||
|
||||
Reference in new issue
Block a user