https://issues.apache.org/bugzilla/show_bug.cgi?id=54185
Bug ID: 54185
Summary: Allow query strings in paths that start with HTTP or
HTTPS
Product: JMeter
Version: 2.7
Hardware: PC
Status: NEW
Severity: enhancement
Priority: P2
Component: HTTP
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Created attachment 29620
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29620&action=edit
Patch to allow query strings in paths starting with HTTP or HTTPS
I ran into a situation where an authorization server needed to have the default
port for https included as part of the URL. Since the default behaviour is to
suppress default ports from being included in the generated URL I decided to
leverage the behaviour of the path property to treat any path that starts with
HTTP or HTTPS as the whole URL.
Unfortunately this doesn't stop parseArguments() from being called. The
attached patch changes the behaviour to not call parseArguments if the path
starts with HTTP or HTTPS (thus allowing query strings to be included as part
of the "complete" URL as per the API - "As a special case, if the path starts
with http[s]://", then the path is assumed to be the entire URL.").
--
You are receiving this mail because:
You are the assignee for the bug.