Bug 47442 - Missing replacement of https by http for certain conditions using https-spoofing
Summary: Missing replacement of https by http for certain conditions using https-spoofing
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: Nightly (Please specify date)
Hardware: PC Windows Vista
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-27 23:36 UTC by KMA
Modified: 2009-08-11 08:38 UTC (History)
0 users



Attachments
Patch (872 bytes, patch)
2009-06-27 23:36 UTC, KMA
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description KMA 2009-06-27 23:36:46 UTC
Created attachment 23893 [details]
Patch

Hi,
for https-spoofing all http-requests should be transformed to https, and all response data from https to http.
However in the method "massageResponseHeaders" of the proxy class in the http package the replacement is implemented incorrectly for certain conditions:
The if-condition is using correct caseinsensitive check while the replacement-statement itself is casesensitive only.
See patch attached...

best regards
Kristian
Comment 1 Sebb 2009-08-11 08:38:00 UTC
URL: http://svn.apache.org/viewvc?rev=803165&view=rev
Log:
Bug 47442 -  Missing replacement of https by http for certain conditions using https-spoofing