jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53957] HTTP Request : In Parameters tab, allow pasting of content coming from Firefox and Chrome (unparsed)
Date Sun, 05 Nov 2017 22:53:15 GMT

--- Comment #13 from Andrew Burton <> ---

> > Wouldn't the biggest use-case for copying-pasting HTTP arguments be from a
> > Chrome or Firefox dev tab? In that case, we could easily make the case that
> > the default argument separator would be ':' and line separator would be '&'.
> In your code you didn't use colon but equal , why :
> private static final String CLIPBOARD_ARG_DELIMITERS = "\t|="; //$NON-NLS-1$
> So this does not pastes correctly "parsed parameters" from Chrome

Apologies - my mistake: I handled the use case for copying the URL, but not the
contents of the Query String Parameters section in Chrome dev tools.

> But replacing it with :
> private static final String CLIPBOARD_ARG_DELIMITERS = "\t|=|:";
> //$NON-NLS-1$
> Can lead to wrong pasting when value is an url that contains ':'

You're right - we would have to assume in that case that the user is entering a
query string that has been URL encoded correctly?

In the short term, I could add a FIXME TODO comment to the code to handle that
edge case.

You are receiving this mail because:
You are the assignee for the bug.
View raw message