aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/decorators.py
diff options
context:
space:
mode:
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),