-
Notifications
You must be signed in to change notification settings - Fork 158
url encode decode package #164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
package to url en(de)code clipboard contents using python
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two triggers to URL-encode and -decode clipboard contents, using Python scripts.
We're particularly cautious with scripts, and although these appear benign, they introduce some possible security risks, and might benefit from a line to check only URL-safe characters are present, to prevent injection risks.
The file-paths all need amending to include the version number, and I have queries about the lower-case Espanso environment variables, as these are usually uppercase.
…code/0.1.0/README.md
…e-decode/0.1.0/_manifest.yml
…url-encode-decode/0.1.0/package.yml
for checking that only url-safe characters are present, should i maybe cause a break if any of the "unsafe" characters as listed here are present? https://stackoverflow.com/a/695467 the answers list a regex i could use |
Yes, I think it would be preferable to cause a break and/or perhaps return an error message string, please. |
package to url en(de)code clipboard contents using python