mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-15 02:36:08 -04:00
fix bad parsing of objects array for double backslashes
This commit is contained in:
@ -13737,6 +13737,12 @@ SafeBuf *XmlDoc::getTokenizedDiffbotReply ( ) {
|
||||
bool inQuotes = false;
|
||||
// scan now
|
||||
for ( ; *x ; x++ ) {
|
||||
// escaping a backslash?
|
||||
if ( *x == '\\' && x[1] == '\\' ) {
|
||||
// skip two bytes then..
|
||||
x++;
|
||||
continue;
|
||||
}
|
||||
// escaping a quote? ignore quote then.
|
||||
if ( *x == '\\' && x[1] == '\"' ) {
|
||||
// skip two bytes then..
|
||||
|
Reference in New Issue
Block a user