Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 05dd22f2a1602fa57bf42d62fcc3e923ba365e42 1 parent 385c720
Søren Blond Daugaard authored
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()))
Please sign in to comment.
Something went wrong with that request. Please try again.