diff options
Diffstat (limited to 'plugins/mod_http.lua')
-rw-r--r-- | plugins/mod_http.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_http.lua b/plugins/mod_http.lua index 53993f29..b36ddb4d 100644 --- a/plugins/mod_http.lua +++ b/plugins/mod_http.lua @@ -30,6 +30,9 @@ local function get_http_event(host, app_path, key) if method:sub(1,1) == "/" then return nil; end + if app_path == "/" and path:sub(1,1) == "/" then + app_path = ""; + end return method:upper().." "..host..app_path..path; end |