net.http.parser: Fix syntax error introduced in c5edb08fc7cb.
authorWaqas Hussain <waqas20@gmail.com>
Mon, 03 Dec 2012 10:01:06 +0500
changeset 5222 61c47d26481d
parent 5220 98b71d519fff
child 5223 76e4651142e1
net.http.parser: Fix syntax error introduced in c5edb08fc7cb.
net/http/parser.lua
--- a/net/http/parser.lua	Mon Dec 03 05:50:39 2012 +0500
+++ b/net/http/parser.lua	Mon Dec 03 10:01:06 2012 +0500
@@ -5,7 +5,7 @@
 local urldecode = require "net.http".urldecode;
 
 local function preprocess_path(path)
-	path = urldecode((path:gsub("//+". "/")));
+	path = urldecode((path:gsub("//+", "/")));
 	if path:sub(1,1) ~= "/" then
 		path = "/"..path;
 	end