On 09.05.2018 09:33, Edoardo Spadoni wrote:
> Hi,
> I would like to handle a menu item URL like this (in manifest.json), the
> second one:
> 
> "menu": {
>     "index": {
>       "label": "System",
>       "order": 10
>     },
>     "../my-module#/path": {
>       "label": "Applications",
>       "order": 20
>     }
>   }
> 
> The URL is handled, but the # is escaped into %23 then the module is not
> available. Is there a way to unescape that and keep the URL as in the
> manifest?

This is a bug in Cockpit. I've filed a pull request to fix it. If all
goes well, this fix should be included in Cockpit version 170, which is
due next week.

https://github.com/cockpit-project/cockpit/pull/9348

Cheers,

Stef

-- 
Stef Walter
Platform Engineering
Red Hat

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
cockpit-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]/message/XNF7CP4GMUKWYEYDSKCPPLKM373UOUK5/

Reply via email to