Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #130 from daugaard/master

Added support for colon (:) in design document id
  • Loading branch information...
commit 9a4f2681994334e5c8d7201adcbce72097d61a97 2 parents 385c720 + 05dd22f
@rnewson 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.