From 21e1888c03fca741105a53163d69afa94e0d2c0b Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Mon, 3 Dec 2012 10:01:06 +0500 Subject: net.http.parser: Fix syntax error introduced in c5edb08fc7cb. --- net/http/parser.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net') diff --git a/net/http/parser.lua b/net/http/parser.lua index 606d750c..c760a0a4 100644 --- a/net/http/parser.lua +++ b/net/http/parser.lua @@ -5,7 +5,7 @@ local url_parse = require "socket.url".parse; 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 -- cgit v1.2.3