Actually set the 'i.redd.it' hack

Whoops almost forgot the whole point of the exploit
This commit is contained in:
Derek Schmidt 2018-06-14 14:08:22 -07:00
parent d6ab920737
commit d1f1e829c3
Signed by: skeh
GPG key ID: 0F5D491793B4035A

View file

@ -39,7 +39,7 @@ def meirl_upload():
watermark.close()
meme.close()
url = url_for('meirl_show_reddit', file=filename[:-4])
url = 'i.redd.it.' + request.host + url_for('meirl_show_reddit', file=filename[:-4])
print(request.args)
if request.args.get('noredirect') is not None:
return url