https://issues.apache.org/bugzilla/show_bug.cgi?id=49083

           Summary: collapse '/..' in redirect URLs
           Product: JMeter
           Version: Nightly (Please specify date)
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: nikita.tovsto...@gmail.com


Created an attachment (id=25250)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25250)
patch collapsing '/..' in redirect URLs

improvement: when following redirects, collapse '/..' in redirect location URLs
- like major browsers do:

ie, http://host/app/page1/../../app/page2 becomes http://host/app/page2

Discussion here:
http://markmail.org/thread/3ci5hayvqyjhi2ud

Patch to trunk attached. Introduces ConversionUtils.removeSlashDotDot(url)
method called from HttpSamplerBase.followRedirects(HTTPSampleResult, int) only.
There's
also a unit test.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org

Reply via email to