net.http.parser: Fix syntax error introduced in c5edb08fc7cb.
authorWaqas Hussain <waqas20@gmail.com>
Mon, 3 Dec 2012 05:01:06 +0000 (10:01 +0500)
committerWaqas Hussain <waqas20@gmail.com>
Mon, 3 Dec 2012 05:01:06 +0000 (10:01 +0500)
net/http/parser.lua

index 606d750c8a18aba1e63e28c3c9542ecbf67bc256..c760a0a44453850a202c962a434fe15bae715d9e 100644 (file)
@@ -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