Re: [Bug 63357] Allowing generated URLs to be relative

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [Bug 63357] Allowing generated URLs to be relative

Eric Covener
Would we need to split ap_construct_url() into two functions, or could
we change all callers with one flag?

There are two callers that pass "" to get their own absolute URL which
we could handle separately
I can't sort out what mod_imagemap is doing
All the other callers in our repo seem to be applicable.


On Sat, Aug 29, 2020 at 5:04 AM <[hidden email]> wrote:

>
> https://bz.apache.org/bugzilla/show_bug.cgi?id=63357
>
> --- Comment #3 from [hidden email] ---
> nginx supports a flag for relative redirect Location URLs.
>
> There is an nginx directive absolute_redirect available from nginx version
> 1.11.8, which is enabled by default.
> If disabled, redirects issued by nginx will be relative.
>
>  absolute_redirect off;
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


--
Eric Covener
[hidden email]