aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/http/server.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/http/server.lua b/net/http/server.lua
index feb8f766..1f61c7b9 100644
--- a/net/http/server.lua
+++ b/net/http/server.lua
@@ -129,6 +129,7 @@ function handle_request(conn, request, finish_cb)
--log("debug", "Event: %s", event);
if events.fire_event(event, payload) ~= nil then return; end
-- TODO try adding/stripping / at the end, but this needs to work via an HTTP redirect
+ if events.fire_event("*", payload) ~= nil then return; end
end
-- if handler not called, fallback to legacy httpserver handlers