aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/decorators.py
diff options
context:
space:
mode:
authorJessica Tallon <jessica@megworld.co.uk>2014-12-18 08:53:05 +0000
committerJessica Tallon <jessica@megworld.co.uk>2014-12-18 08:53:05 +0000
commitce1344f40b6e9b54b10835a004745a793706af1f (patch)
treeb3da47774781bb1f6b40553930a5044dda6fe97d /mediagoblin/decorators.py
parent95dbed2d72777182d2b3018fd6fa41bd32aaabaa (diff)
downloadmediagoblin-ce1344f40b6e9b54b10835a004745a793706af1f.tar.lz
mediagoblin-ce1344f40b6e9b54b10835a004745a793706af1f.tar.xz
mediagoblin-ce1344f40b6e9b54b10835a004745a793706af1f.zip
Fix #1066 - Fix OAuth issue when using GET params
Diffstat (limited to 'mediagoblin/decorators.py')
-rw-r--r--mediagoblin/decorators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/decorators.py b/mediagoblin/decorators.py
index eab09ec3..b5ec0ce8 100644
--- a/mediagoblin/decorators.py
+++ b/mediagoblin/decorators.py
@@ -407,7 +407,7 @@ def oauth_required(controller):
request_validator = GMGRequestValidator()
resource_endpoint = ResourceEndpoint(request_validator)
valid, r = resource_endpoint.validate_protected_resource_request(
- uri=request.url,
+ uri=request.base_url,
http_method=request.method,
body=request.data,
headers=dict(request.headers),