From d7d5008bbb1e5da3f9444b0cbaaaba2d23d65701 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 10 Dec 2013 15:38:52 +0000 Subject: [PATCH] dont use absolute url for upload, fixes #1939 --- pandora/archive/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/views.py b/pandora/archive/views.py index e3a795c5..4663911d 100644 --- a/pandora/archive/views.py +++ b/pandora/archive/views.py @@ -266,7 +266,7 @@ def firefogg_upload(request): if f.item.rendered and f.selected: Item.objects.filter(id=f.item.id).update(rendered=False) response = { - 'uploadUrl': request.build_absolute_uri('/api/upload/?id=%s&profile=%s' % (f.oshash, profile)), + 'uploadUrl': '/api/upload/?id=%s&profile=%s' % (f.oshash, profile), 'url': request.build_absolute_uri('/%s' % f.item.itemId), 'result': 1 }