You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/01/26 20:40:31 UTC
[Bug 58923] New: Retrieve all embedded resources doesn't honor dot
segments
https://bz.apache.org/bugzilla/show_bug.cgi?id=58923
Bug ID: 58923
Summary: Retrieve all embedded resources doesn't honor dot
segments
Product: JMeter
Version: 2.13
Hardware: Macintosh
OS: other
Status: NEW
Severity: normal
Priority: P2
Component: HTTP
Assignee: issues@jmeter.apache.org
Reporter: jan.eerdekens@gmail.com
When an embedded resource has a URL that contains a dot segment like '/../'
this causes an HTTP 404 because the URL isn't normalized before retrieving it.
If I take such a URL and try to do a HTTP GET using Commons HttpComponents I
see the same behavior unless I create a URI beforehand and first call
normalize() on that and pass the result to the HTTP GET. It seems these HTTP
libraries assume that this is done and so it seems that JMeter should
incorporate this for the retrieve embedded resources functionality.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58923] Retrieve all embedded resources doesn't honor dot
segments
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58923
--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
Created attachment 33493
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33493&action=edit
normalize embedded uris before download
Try to normalize URIs before downloading them as part of the embedded resource
downloads.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58923] Retrieve all embedded resources doesn't honor dot
segments
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58923
Felix Schumacher <fe...@internetallee.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Felix Schumacher <fe...@internetallee.de> ---
Date: Tue Jan 26 20:49:07 2016
New Revision: 1726900
URL: http://svn.apache.org/viewvc?rev=1726900&view=rev
Log:
Normalize URIs when downloading embedded resources.
Bugzilla Id: 58923
Modified:
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
jmeter/trunk/xdocs/changes.xml
--
You are receiving this mail because:
You are the assignee for the bug.