Date: Sun, 21 Aug 2022 06:42:06 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 243299] fetch(1) fails to handle redirects on a valid URL Message-ID: <bug-243299-227-0EVaoG61VH@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-243299-227@https.bugs.freebsd.org/bugzilla/> References: <bug-243299-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243299 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=3D236031&action= =3Dedit 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 g= ive it a once over to ensure it conforms to your standards; something someone e= lse can do if they so choose. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243299-227-0EVaoG61VH>