Skip to content
Browse files

Added support for colon (:) in design document name.

  • Loading branch information...
1 parent 385c720 commit 05dd22f2a1602fa57bf42d62fcc3e923ba365e42 Søren Blond Daugaard committed Jul 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 couchdb-external-hook.py
View
2 couchdb-external-hook.py
@@ -61,7 +61,7 @@ def respond(res, req, key):
# URL-escape each part
for index, item in enumerate(path):
- path[index] = urllib.quote(path[index], "")
+ path[index] = urllib.quote(path[index], safe=":/")
path = '/'.join(['', key] + path)
params = urllib.urlencode(dict([k, v.encode('utf-8')] for k, v in req["query"].items()))

0 comments on commit 05dd22f

Please sign in to comment.
Something went wrong with that request. Please try again.