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

ASF subversion and git services commented on TS-4106:
-----------------------------------------------------

Commit a70e9473cabba89861965d5ab775dbe4f20c720b in trafficserver's branch 
refs/heads/master from [~hnakamur]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=a70e947 ]

TS-4106 Allow Cache Inspector to split properly on multiline URLs

Leif: This was broken in commit bd304288b55e989, and the fixes seems
to restore original behavior (while retaining the use of strlcpy() ).

This closes #401


> Cache Inspector fails to split multiline URLs
> ---------------------------------------------
>
>                 Key: TS-4106
>                 URL: https://issues.apache.org/jira/browse/TS-4106
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Web UI
>            Reporter: Hiroaki Nakamura
>            Assignee: Leif Hedstrom
>             Fix For: 6.1.0
>
>         Attachments: cache_inspector_multiline_urls_split.patch
>
>
> The error is in the length parameter at
> https://github.com/apache/trafficserver/blob/413dd51d5dc17bf388805071efdb8f882014b847/iocore/cache/CachePages.cc#L129
> Because of this error, ink_strlcpy copies strings from the current poisition 
> to the end of multiline URLs, not to the end of line.
> The attached patch cache_inspector_multiline_urls_split.patch fixes this bug.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to