diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2018-05-16 10:21:30 -0400 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2018-05-16 10:21:30 -0400 |
commit | df3ff8760da8e958fcd40e187fbc0dc63e47a5d0 (patch) | |
tree | a3350f3dca7f4e9f75f5b2072d2b1ee172ad1d9e /lib | |
parent | c7dfaf189024963ea674bf0a191b7d6d956e8e36 (diff) | |
download | patchfoo-df3ff8760da8e958fcd40e187fbc0dc63e47a5d0.tar.gz patchfoo-df3ff8760da8e958fcd40e187fbc0dc63e47a5d0.zip |
Fix url-decoding blob ids
Diffstat (limited to 'lib')
-rw-r--r-- | lib/serve.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/serve.js b/lib/serve.js index 7045b30..9b4dcd4 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -302,7 +302,7 @@ Serve.prototype.handle = function () { case '%25': m[2] = '%'; m[1] = decodeURIComponent(m[1]) case '%': return this.id(m[1], m[3]) case '@': return this.userFeed(m[1], m[3]) - case '%26': m[2] = '%'; m[1] = decodeURIComponent(m[1]) + case '%26': m[2] = '&'; m[1] = decodeURIComponent(m[1]) case '&': return this.blob(m[1], m[3]) default: return this.path(m[4]) } |