Replies: 1 comment
|
The URL was only rejected originally because because it contained a space, and you need If you have In fact, note that if you try to normalise that URL with trurl, you will see that the space gets encoded as Removing the I do notice that
That is not an equivalent URL though; this URL has a query with only a I am trying to make sense of what you are trying to do here. var='foo%bar@$ ^&*'
trurl "https://test.com/?test=$var"If so, that is not how you are supposed to use var='foo%7bar@$ ^&*'
trurl -a "query=test=$var" https://test.com/
# output: https://test.com/?test=foo%257bar%40%24%20%5e%26%2aThis will reliably set Hopefully that helps. o/ |
Uh oh!
There was an error while loading. Please reload this page.
Would it be useful to have the ability to percent encode parameter values in trurl?
For example, to encode the
testparameter in the URL below.Maybe something like this...
output
I tried using the
--urlencodeoption but got an error due to the whitespace.And after using the
--accept-spaceit only encoded the whitespace character.All reactions