Software /
code /
prosody
Changeset
5208:afa9b7e18e43
Merge 0.9->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 29 Nov 2012 07:38:24 +0500 |
parents | 5206:b4de85209ccf (current diff) 5207:c5edb08fc7cb (diff) |
children | 5212:c2b431042a54 |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/http/parser.lua Thu Nov 29 07:17:31 2012 +0500 +++ b/net/http/parser.lua Thu Nov 29 07:38:24 2012 +0500 @@ -5,7 +5,7 @@ local urldecode = require "net.http".urldecode; local function preprocess_path(path) - path = urldecode(path); + path = urldecode((path:gsub("//+". "/"))); if path:sub(1,1) ~= "/" then path = "/"..path; end