Bug 55815 - Proxy#getDomainMatch does not handle wildcards correctly
Summary: Proxy#getDomainMatch does not handle wildcards correctly
Status: RESOLVED FIXED
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.10
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-23 12:54 UTC by Sebb
Modified: 2013-11-23 13:20 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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