diff -r 5566236f363f -r 6f5640375358 plugins/mod_http.lua --- a/plugins/mod_http.lua Sun Dec 09 12:19:08 2012 +0100 +++ b/plugins/mod_http.lua Sun Dec 09 12:20:55 2012 +0100 @@ -88,7 +88,7 @@ local data = handler; handler = function () return data; end elseif event_name:sub(-2, -1) == "/*" then - local base_path_len = #event_name:match("(/.+/)%*$")+1; + local base_path_len = #event_name:match("/.+$"); local _handler = handler; handler = function (event) local path = event.request.path:sub(base_path_len);