mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 02:35:33 +08:00
corrects EOL error when the Meta tag isn't closed properly and we reach
the end of the input.
This commit is contained in:
@@ -232,6 +232,7 @@ public class XMLTokener extends JSONTokener {
|
||||
}
|
||||
switch (c) {
|
||||
case 0:
|
||||
throw syntaxError("Unterminated string");
|
||||
case '<':
|
||||
case '>':
|
||||
case '/':
|
||||
|
Reference in New Issue
Block a user