[Bug 243299] fetch(1) fails to handle redirects on a valid URL
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Aug 2022 06:42:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243299
pprocacci@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pprocacci@gmail.com
--- Comment #2 from pprocacci@gmail.com ---
Created attachment 236031
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=236031&action=edit
Add support for relative urls in redirect responses
RFC 7231 has support for relative urls.
I saw this bug report and had to check. I didn't believe it.
The attach patch fixes the op's issue, but truly it needs to be tested with all
kinds of responses.
Additionally, I program in C in a much much different way than the source
file's layout. Safe to apply, sure, but it'd be wise for someone else to give
it a once over to ensure it conforms to your standards; something someone else
can do if they so choose.
--
You are receiving this mail because:
You are the assignee for the bug.