Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

frontend: cli: Quote passed args

Open psydvl opened this issue 2 years ago • 2 comments

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

psydvl avatar Dec 12 '22 22:12 psydvl

Is this still a draft?

mirkobrombin avatar Mar 25 '24 20:03 mirkobrombin

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

kirides avatar Jul 25 '24 11:07 kirides