Loading CHANGES +3 −0 Original line number Diff line number Diff line -*- coding: utf-8 -*- Changes with Apache 2.2.5 *) mod_alias: Accept path components (URL part) in Redirects. PR 35314. [Nick Kew] *) mod_headers: Allow % at the end of a Header value. PR 36609. [Nick Kew, Ruediger Pluem] Loading modules/mappers/mod_alias.c +4 −1 Original line number Diff line number Diff line Loading @@ -204,7 +204,10 @@ static const char *add_redirect_internal(cmd_parms *cmd, if (ap_is_HTTP_REDIRECT(status)) { if (!url) return "URL to redirect to is missing"; if (!use_regex && !ap_is_url(url)) /* PR#35314: we can allow path components here; * they get correctly resolved to full URLs. */ if (!use_regex && !ap_is_url(url) && (url[0] != '/')) return "Redirect to non-URL"; } else { Loading Loading
CHANGES +3 −0 Original line number Diff line number Diff line -*- coding: utf-8 -*- Changes with Apache 2.2.5 *) mod_alias: Accept path components (URL part) in Redirects. PR 35314. [Nick Kew] *) mod_headers: Allow % at the end of a Header value. PR 36609. [Nick Kew, Ruediger Pluem] Loading
modules/mappers/mod_alias.c +4 −1 Original line number Diff line number Diff line Loading @@ -204,7 +204,10 @@ static const char *add_redirect_internal(cmd_parms *cmd, if (ap_is_HTTP_REDIRECT(status)) { if (!url) return "URL to redirect to is missing"; if (!use_regex && !ap_is_url(url)) /* PR#35314: we can allow path components here; * they get correctly resolved to full URLs. */ if (!use_regex && !ap_is_url(url) && (url[0] != '/')) return "Redirect to non-URL"; } else { Loading