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