projects
/
pithos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
423edf2
)
Exclude some characters from URL-encoding.
author
Antony Chazapis
<chazapis@gmail.com>
Tue, 29 Nov 2011 09:10:49 +0000
(11:10 +0200)
committer
Antony Chazapis
<chazapis@gmail.com>
Tue, 29 Nov 2011 09:10:49 +0000
(11:10 +0200)
pithos/api/util.py
patch
|
blob
|
history
diff --git
a/pithos/api/util.py
b/pithos/api/util.py
index
223ffeb
..
c2d835c
100644
(file)
--- a/
pithos/api/util.py
+++ b/
pithos/api/util.py
@@
-793,7
+793,7
@@
def update_response_headers(request, response):
k.startswith('X-Container-Meta-') or k.startswith('X-Object-Meta-') or
k in ('X-Container-Object-Meta', 'X-Object-Manifest', 'X-Object-Sharing', 'X-Object-Shared-By')):
del(response[k])
- response[quote(k)] = quote(v)
+ response[quote(k)] = quote(v, safe='/=,:@')
if settings.TEST:
response['Date'] = format_date_time(time())