Skip to content

Invalid backslash in uploaded json #80

@plerohellec

Description

@plerohellec

I'm receiving invalid yabs.sh json payloads almost daily at vpsbenchmarks.com. They are invalid because one or more strings in the json include a backslash that is not used as an escape character. It looks like the \ is escaping a double quote but it was not meant to. For example:
"asn":"AS44486 Oliver Horscht is trading as \SYNLINQ\"
or
"isp":"OOO \Network of data-centers \Selectel\"

Would it be possible to escape or delete those backslashes before including them in the json strings?

Here is an example with the full json input:
yab.invalid-backslash.json

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions