projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95dbed2
)
Fix #1066 - Fix OAuth issue when using GET params
author
Jessica Tallon
<jessica@megworld.co.uk>
Thu, 18 Dec 2014 08:53:05 +0000
(08:53 +0000)
committer
Jessica Tallon
<jessica@megworld.co.uk>
Thu, 18 Dec 2014 08:53:05 +0000
(08:53 +0000)
mediagoblin/decorators.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/decorators.py
b/mediagoblin/decorators.py
index eab09ec38840d184e6c44c5b08de9e2e062fbc69..b5ec0ce81e4eebdbf964d29f4bcd078d9935d2bf 100644
(file)
--- 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),