Changeset

5222:61c47d26481d

net.http.parser: Fix syntax error introduced in c5edb08fc7cb.
author Waqas Hussain <waqas20@gmail.com>
date Mon, 03 Dec 2012 10:01:06 +0500 (2012-12-03)
parents 5220:98b71d519fff
children 5223:76e4651142e1
files net/http/parser.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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