Bug 47442

Summary: Missing replacement of https by http for certain conditions using https-spoofing
Product: JMeter - Now in Github Reporter: KMA <kristian>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: Nightly (Please specify date)   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Attachments: Patch

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
Comment 2 The ASF infrastructure team 2022-09-24 20:37:43 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2252