You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2012/05/28 16:39:24 UTC

[jira] [Comment Edited] (TS-1195) IPv6 address URLs are not parsed.

    [ https://issues.apache.org/jira/browse/TS-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284412#comment-13284412 ] 

Alan M. Carroll edited comment on TS-1195 at 5/28/12 2:38 PM:
--------------------------------------------------------------

commit 4413ae1f8d7b56a3d92cd19d878ecda53278d8b4
       5321ca4d5057d7ce3680a50f7f066501ab8d27c1
       83a84cfef6188db596836138a0bc2bcb7213aae9

Changed the internet part of the URL parser to handle IPv6 addresses. Because of secondary effects the brackets were kept as part of the host name. Interaction with other parts of ATS and origin servers would require keeping or constantly checking the host name and that was too intrusive.

Handling of the Host field was changed as well so that port extraction was not confused by the presence of colons from IPv6 addresses. This is still a somewhat open issue. I think I found all the places this mattered but further work may be required.
                
      was (Author: amc):
    commit  4413ae1f8d7b56a3d92cd19d878ecda53278d8b4,
        5321ca4d5057d7ce3680a50f7f066501ab8d27c1

Changed the internet part of the URL parser to handle IPv6 addresses. Because of secondary effects the brackets were kept as part of the host name. Interaction with other parts of ATS and origin servers would require keeping or constantly checking the host name and that was too intrusive.

Handling of the Host field was changed as well so that port extraction was not confused by the presence of colons from IPv6 addresses. This is still a somewhat open issue. I think I found all the places this mattered but further work may be required.
                  
> IPv6 address URLs are not parsed.
> ---------------------------------
>
>                 Key: TS-1195
>                 URL: https://issues.apache.org/jira/browse/TS-1195
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 3.1.3
>            Reporter: Alan M. Carroll
>            Assignee: Alan M. Carroll
>            Priority: Minor
>              Labels: ipv6, parsing, url
>             Fix For: 3.1.4
>
>
> A URL with a raw IPv6 address is not parsed. It should be parsed with or without braces (per RFC).
> http://fe80:2710::1:1/some/path
> http://[fe80:2810::1:1]/some/path

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira