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





--- Comment #2 from Sebb <s...@apache.org>  2009-04-03 03:45:21 PST ---
JMeter currently uses  new URL(baseURL, location)  to handle the references.

This behaves correctly according to RFC2396, which states:

5.2.
<snip/>
 g) If the resulting buffer string still begins with one or more
         complete path segments of "..", then the reference is
         considered to be in error.  Implementations may handle this
         error by retaining these components in the resolved path (i.e.,
         treating them as part of the final URI), by removing them from
         the resolved path (i.e., discarding relative levels above the
         root), or by avoiding traversal of the reference.

Java takes the first option, i.e. it leaves the component in the resolved path.

It seems that browsers take the second option, i.e. discarding extra levels.

JMeter will need to perform further processing to remove any additional
relative levels.

-- 
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