Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #130 from daugaard/master
Browse files Browse the repository at this point in the history
Added support for colon (:) in design document id
  • Loading branch information
Robert Newson committed Jul 26, 2011
2 parents 385c720 + 05dd22f commit 9a4f268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion couchdb-external-hook.py
Expand Up @@ -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()))
Expand Down

0 comments on commit 9a4f268

Please sign in to comment.