Bug 55815

Summary: Proxy#getDomainMatch does not handle wildcards correctly
Product: JMeter - Now in Github Reporter: Sebb <sebb>
Component: HTTPAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.10   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   

Description Sebb 2013-11-23 12:54:24 UTC
The method Proxy#getDomainMatch currently assumes that wildcards can match any level of host within a domain.

For example:

KeyStore for SSL loaded OK and put host 'spark.incubator.apache.org' in map with key (*.apache.org)

This is incorrect; spark.incubator.apache.org only matches *.incubator.apache.org
Comment 1 Sebb 2013-11-23 13:20:33 UTC
URL: http://svn.apache.org/r1544786
Log:
Proxy#getDomainMatch does not handle wildcards correctly
Bugzilla Id: 55815

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java
    jmeter/trunk/xdocs/changes.xml
Comment 2 The ASF infrastructure team 2022-09-24 20:37:55 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3275