From 77876b35d0a61a64b103029a6006575dac7600d0 Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Tue, 24 Sep 2024 13:48:44 -0400 Subject: [PATCH] Revert "Update node_proxy.lua (#3776)" This reverts commit 3cc4910b87210a64edad2ea4f02660ea53119905. --- mod_ood_proxy/lib/node_proxy.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_ood_proxy/lib/node_proxy.lua b/mod_ood_proxy/lib/node_proxy.lua index 705d6f86d9..678ae6d4ad 100644 --- a/mod_ood_proxy/lib/node_proxy.lua +++ b/mod_ood_proxy/lib/node_proxy.lua @@ -34,7 +34,7 @@ function node_proxy_handler(r) local conn = {} conn.user = user conn.server = host .. ":" .. port - conn.uri = uri and (r.args and (uri .. "?" .. r.args) or uri) or r.uri + conn.uri = uri and (r.args and (uri .. "?" .. r.args) or uri) or r.unparsed_uri -- last ditch effort to ensure that the uri is at least something -- because the request-line of an HTTP request _has_ to have something for a URL