We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 174fadf + dfe3dc9 commit 46b1eadCopy full SHA for 46b1ead
js/scripts.js
@@ -61,7 +61,10 @@ function jwtDecode(){
61
}
62
63
function urlEncode(){
64
- get('preUrlOutputCode').innerText = encodeURIComponent(get('textAreaUrlInput').value);
+ get('preUrlOutputCode').innerText = encodeURIComponent(get('textAreaUrlInput').value).replace(
65
+ /[!'()*]/g,
66
+ (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`
67
+ );
68
69
70
function urlDecode(){
0 commit comments