changeset 5492:b6af4d1ff8c1

mod_http_debug: Handle any path under /debug/* as well Sometimes things encode useful info in paths. Could also help if you add path components in a reverse proxy.
author Kim Alvefur <zash@zash.se>
date Fri, 26 May 2023 15:38:38 +0200
parents 7842502c1157
children cae3bb3dd45f
files mod_http_debug/mod_http_debug.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_debug/mod_http_debug.lua	Fri May 26 15:37:15 2023 +0200
+++ b/mod_http_debug/mod_http_debug.lua	Fri May 26 15:38:38 2023 +0200
@@ -26,6 +26,7 @@
 local route = {};
 for method in methods do
 	route[method] = handle_request;
+	route[method .. " /*"] = handle_request;
 end
 
 module:provides("http", {