Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4106

Cache Inspector fails to split multiline URLs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1.0
    • Component/s: Tools
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              zwoop Leif Hedstrom
              Reporter:
              hnakamur Hiroaki Nakamura
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: