url-encode
// url encode using jq
echo "encode me" | jq -sRr @uri
// double encoding
echo "<script>alert(document.domain)</script>" | jq -sRr @uri | jq -sRr @uri
Last updated
Was this helpful?
// url encode using jq
echo "encode me" | jq -sRr @uri
// double encoding
echo "<script>alert(document.domain)</script>" | jq -sRr @uri | jq -sRr @uri
Last updated
Was this helpful?