Fixed special character handling in DataPath

This commit is contained in:
Ziver Koc 2023-08-21 02:25:26 +02:00
parent 676ce6a33f
commit a2694af70f
2 changed files with 14 additions and 3 deletions

View file

@ -81,14 +81,15 @@ public class DataNodePath {
operator = c;
break;
case '\"':
case '\'': // Read in everything until next quote
buffer.append(c);
for (; i < path.length(); i++) {
for (i++; i < path.length(); i++) {
char c2 = path.charAt(i);
buffer.append(c2);
if (c2 == c)
break;
buffer.append(c2);
}
break;