3 ms·
Hopefully this isn't on my side, but clicking on "The dark side of RATP (Paris metro) tickets" from /r/ReverseEngineering gives link address http://translate.go
by nik_0_0 15y ago
Hopefully this isn't on my side, but clicking on "The dark side of RATP (Paris metro) tickets" from /r/ReverseEngineering gives link address http://translate.google.com/translate?sl=fr&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Fvirtualabs.fr%2FLa-face-cachee-des-tickets-RATP&act=url http://translate.google.com/translate?sl=fr&tl=en... which resolves to a blank translate page.
The url from Reddit direct is: http://translate.google.com/translate?sl=fr&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Fvirtualabs.fr%2FLa-face-cachee-des-tickets-RATP&act=url http://translate.google.com/translate?sl=fr&tl=en&js...
Looks like the handling of & on your side? Looks very cool though :)
- anvaka 15y agoGood 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!