diff options
Diffstat (limited to 'src/chttpd.erl')
-rw-r--r-- | src/chttpd.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chttpd.erl b/src/chttpd.erl index ac5ee38c..42b4ab41 100644 --- a/src/chttpd.erl +++ b/src/chttpd.erl @@ -289,7 +289,7 @@ absolute_uri(#httpd{mochi_req=MochiReq} = Req, Path) -> end end, CustomerRegex = ["^/", cloudant_util:customer_name(Req), "[/%2F]+"], - NewPath = re:replace(Path, CustomerRegex, "/"), + NewPath = re:replace(Path, CustomerRegex, "/", [{return,list}]), Scheme ++ "://" ++ Host ++ NewPath. unquote(UrlEncodedString) -> |