We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2de0164 commit aaf08f5Copy full SHA for aaf08f5
source/java/src/org/lucee/extension/guard/CustomEncoder.java
@@ -68,6 +68,12 @@ public static String encodeForXPath(String input) {
68
case '\"':
69
sb.append(""");
70
break;
71
+ case '<':
72
+ sb.append("<");
73
+ break; // Add this
74
+ case '>':
75
+ sb.append(">");
76
77
default:
78
if (c < 32 || c > 126) {
79
sb.append('\\').append(Integer.toHexString(c | 0x100).substring(1));
0 commit comments