IvanMathy / Boop

A scriptable scratchpad for developers. In slow yet steady progress.
https://boop.okat.best
MIT License
3.84k stars 356 forks source link

Fix undefined error in FullURLDecode #255

Open zoeyfyi opened 3 years ago

zoeyfyi commented 3 years ago

FullURLDecode.js doesn't work since c was undefined, this PR resolves this issue.

Having played with it a little I am unsure if the script is even necessary. @luisfontes19, do you have an example where the behavior of your script differs from the existing URLDecode.js script?

sonarcloud[bot] commented 3 years ago

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
3.5% 3.5% Duplication

luisfontes19 commented 3 years ago

Thanks for that.

You're right... It seems to not be needed as the decodeURIComponent from the default script also decodes these chars... Should have tested it first...