Closed
Description
Describe the bug
The @uri
string formatter percent-escapes it's input, but there is no filter to reverse the process.
To Reproduce
$ echo '"="' | jq -r '@uri'
%3D
It seems that perhaps @text
would convert it back, but it passes the string unmodified:
$ echo '%3D' | jq -R -r '@text'
%3D
Expected behavior
That there would be a @urid
or similar to match @base64
/ @base64d
.
Environment (please complete the following information):
- Ubuntu LInux 20.04
- jq version 1.6