Skip to content
Snippets Groups Projects
Commit f33c23d2 authored by Gaël Bonithon's avatar Gaël Bonithon
Browse files

garcon: Escape '%' when building command from URL desktop files

Since Garcon reduces the case of URL desktop files to the case of a
classic file with an Exec key of value `exo-open 'URL'`, and there is no
reliable way to distinguish the two cases from the outside when invoking
`garcon_menu_item_get_command()`, Garcon must escape the '%' characters
in the URL as if they appeared in the value of an Exec key.

Fixes: #31
parent 8d14c32d
No related branches found
No related tags found
No related merge requests found
Pipeline #17266 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment