DRAW icon indicating copy to clipboard operation
DRAW copied to clipboard

<, >, and & contained in response

Open donovanrost opened this issue 4 years ago • 2 comments

According to reddit docs

**response body encoding ** For legacy reasons, all JSON response bodies currently have <, >, and & replaced with <, >, and &, respectively. If you wish to opt out of this behaviour, add a raw_json=1 parameter to your request.

would it be possible to use this parameter to opt out of this legacy behavior?

donovanrost avatar May 06 '20 00:05 donovanrost

was thinking the same thing, because i encountered it yesterday. I had to use a replaceAll to replace the & with & so that the images load properly.

SupremeDeity avatar Jul 27 '21 06:07 SupremeDeity

#200 fixes this. Waiting for merge.

SupremeDeity avatar Jul 27 '21 09:07 SupremeDeity