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


Jason Barnabe <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #1 from Jason Barnabe <[email protected]>  2009-03-06 
12:38:20 PST ---
This is not limited to redirects. It also happens with URLs entered directly
and those loaded via "Retrieve All Embedded Resources from HTML files".

When loading relative URLs, Firefox, IE, and others will resolve to an absolute
URL before making the request, so if you enter "http://example.com/a/..";, they
will attempt to load "http://example.com/";. JMeter, on the other hand, will
attempt to load "http://example.com/a/..";. In this case, both URLs work, so
there's no issue. But in the case of "http://example.com/../";, the browsers
will notice the error and correct it to "http://example.com/"; before sending,
while JMeter won't and will receive a 400 from the server.

RFC 2396 (http://www.ietf.org/rfc/rfc2396.txt) section 5.2 provided an example
algorithm for resolving relative references.

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