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: [email protected]
        ReportedBy: [email protected]


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to