Bottles
Bottles copied to clipboard
frontend: cli: Quote passed args
Description
frontend: cli: run_porgram: Quote passed args
Will allow symbols like &
in args
Fix issue with URLs like handler://arg1=bla&arg2=bla
, which cause next error
/bin/sh: line 1: arg2=bla: command not found
Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
Is this still a draft?
Isn't that an invalid uri scheme?
It should look like the following scheme://host/path
where host
usually is an entrypoint for the handler of scheme
, like in the case of "bottles" its run
, e.g. bottles://run?arg1=v1&arg2=v2
or bottles://run/some?arg1=v1&arg2=v2