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

Conan Wang commented on TS-994:
-------------------------------

My backend server will log X-Forwarded-For, and the additional leading space 
bother me when parsing the log.
                
> X-Forwarded-For should follow the squid way
> -------------------------------------------
>
>                 Key: TS-994
>                 URL: https://issues.apache.org/jira/browse/TS-994
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: HTTP
>    Affects Versions: 3.1.1
>            Reporter: Zhao Yongming
>            Assignee: Zhao Yongming
>            Priority: Minor
>             Fix For: 3.1.1
>
>         Attachments: XFF.patch
>
>
> TS will append the IP in the format of: 
> {code}
> X-Forwarded-For: 127.0.0.1,  10.32.102.41\r\n
> {code}
> while http://en.wikipedia.org/wiki/X-Forwarded-For says:
> {code}
> X-Forwarded-For: client1, proxy1, proxy2
> {code}
> there is 2 spaces in TS X-Forwarded-For header.

--
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

        

Reply via email to