From df3ff8760da8e958fcd40e187fbc0dc63e47a5d0 Mon Sep 17 00:00:00 2001 From: cel Date: Wed, 16 May 2018 10:21:30 -0400 Subject: Fix url-decoding blob ids --- lib/serve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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]) } -- cgit v1.2.3