LQR471814 / Quizizz-Hack

Currently unworking although it did once before.
15 stars 3 forks source link

Add string sanitization #2

Closed Nekui closed 4 years ago

Nekui commented 4 years ago

You should remove all special characters like quotation marks within the question or treat it like a raw string. Otherwise, the json formatting gets messed up when the question has a quote within it.

LQR471814 commented 4 years ago

I'm not completely sure what you mean by messed up because if the quiz returns valid json it should use \" for quotes inside text, can you provide an example? Although despite that I did push an update trying to address the issue.

Nekui commented 4 years ago

I'm not too familiar with json, but I think it works now.

Cheers.