4 ms·
Good catch! I didn't realize reddit encodes '&', '<' and '>' when it returns json data: https://github.com/reddit/reddit/blob/master/r2/r2/controllers/reddit_b
by anvaka 15y ago
Good catch! I didn't realize reddit encodes '&', '<' and '>' when it returns json data:
https://github.com/reddit/reddit/blob/master/r2/r2/controllers/reddit_base.py#L731 https://github.com/reddit/reddit/blob/master/r2/r2/controlle...
which ends up in:
https://github.com/reddit/reddit/blob/master/r2/r2/lib/filters.py#L48 https://github.com/reddit/reddit/blob/master/r2/r2/lib/filte...
It should be fixed now :). Thank you for pointing out!