diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-01-20 10:56:54 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-08 19:54:29 -0400 |
commit | a0029b21a1665f6e1c22e6b599bce4e92c5ff16e (patch) | |
tree | cf3f867e92e7d808ec9e0136ff13a15c68719d3b /src/mod_redirect.c | |
parent | 9aa0b3409e00ed258fedf0e1da22d463b0176fab (diff) | |
download | lighttpd-git-a0029b21a1665f6e1c22e6b599bce4e92c5ff16e.tar.gz |
[core] remove r->uri.path_raw; generate as needed
(r->uri.path_raw previously duplicated from r->target, minus query-part)
Diffstat (limited to 'src/mod_redirect.c')
-rw-r--r-- | src/mod_redirect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_redirect.c b/src/mod_redirect.c index 1458e095..45fbb845 100644 --- a/src/mod_redirect.c +++ b/src/mod_redirect.c @@ -165,7 +165,7 @@ URIHANDLER_FUNC(mod_redirect_uri_handler) { burl.scheme = &r->uri.scheme; burl.authority = &r->uri.authority; burl.port = sock_addr_get_port(&r->con->srv_socket->addr); - burl.path = &r->uri.path_raw; + burl.path = &r->target; /*(uri-encoded and includes query-part)*/ burl.query = &r->uri.query; if (buffer_string_is_empty(burl.authority)) burl.authority = r->server_name; |