[
https://issues.apache.org/jira/browse/TS-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15076193#comment-15076193
]
ASF GitHub Bot commented on TS-4106:
------------------------------------
GitHub user hnakamur opened a pull request:
https://github.com/apache/trafficserver/pull/401
Fix Cache Inspector fails to split multiline URLs
Please referer [\[TS-4106\] Cache Inspector fails to split multiline URLs -
ASF JIRA](https://issues.apache.org/jira/browse/TS-4106).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hnakamur/trafficserver
fix_cache_inspector_fails_to_split_multiline_urls
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/401.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #401
----
commit 534098423d0567ce4aa275ee4a46a3d34fc13ae4
Author: Hiroaki Nakamura <[email protected]>
Date: 2016-01-01T00:00:19Z
Fix Cache Inspector fails to split multiline URLs
----
> 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)