Bug 19207 - Redirection broken under IPv6
Summary: Redirection broken under IPv6
Status: CLOSED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.0.44
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL: http://[3ffe:b00:4041:ace0:260:f8ff:f...
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-22 01:26 UTC by Matthew Darwin
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
proposed patch for PR 19207 (build URL from IPv6 literal) (1.28 KB, patch)
2003-04-22 11:46 UTC, Jeff Trawick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Darwin 2003-04-22 01:26:56 UTC
http://[3ffe:b00:4041:ace0:260:f8ff:fe03:bc9]/resources should redirect to
http://[3ffe:b00:4041:ace0:260:f8ff:fe03:bc9]/resources/  (add slash).

Intstead it seems to redirect to:
http://3ffe:b00:4041:ace0:260:f8ff:fe03:bc9/resources/  (remove square brackets
and add slash).

This, of course, does not resolve.
Comment 1 Jeff Trawick 2003-04-22 11:46:07 UTC
Created attachment 5943 [details]
proposed patch for PR 19207 (build URL from IPv6 literal)
Comment 2 Jeff Trawick 2003-04-22 11:46:35 UTC
Please try the attached patch and report back.

Thanks for your report!
Comment 3 Matthew Darwin 2003-04-22 12:44:34 UTC
Issue is resolved with given patch on Apache/2.0.45.
Comment 4 Jeff Trawick 2003-04-22 14:57:49 UTC
Thanks for the quick feedback.

The fix you tested has been committed to Apache 2.1-dev.  If the fix doesn't 
prove to be problematic to others, I'll propose it for merging into the 
next stable release (e.g., 2.0.46).