forked from Mirrors/flatpak-builder
![]() For a long time we have been disallowing "-" in application names, which is different than what dbus allows for bus names. Also "-" used to be not allowed by GApplication in glib. This is in part because dbus object paths do *not* allow dashes, so you can't legally map from e.g. a valid name like "org.foo-bar.gazonk" to a valid path like "/org/foo-bar/gazonk". This is a problem because many existing apps already use "-" in the name, either as the last part (org.gnome.font-viewer) or because the dns name it refers to has a dash. This was recently discussed in the dbus community, and the result is to recommend that "-" in the bus names be converted to "_" in object paths. This change makes it also allowed to have "-" in a flatpak app id. For flatpak specifically we were relying on "-" not being allowed to handle the case of exporting "org.foo.App-symbolic.png". If "-" is allowed this name can conflict between apps called "org.foo.App-symbolic" and "org.foo.App". To handle this we add two special cases: * App ids can't end with "-symbolic". * Apps are allowed to export files with $appid-symbolic as prefix. |
||
---|---|---|
.. | ||
gvdb | ||
Makefile.am.inc | ||
flatpak-chain-input-stream.c | ||
flatpak-chain-input-stream.h | ||
flatpak-common-types.h | ||
flatpak-db.c | ||
flatpak-db.h | ||
flatpak-dir.c | ||
flatpak-dir.h | ||
flatpak-portal-error.c | ||
flatpak-portal-error.h | ||
flatpak-run.c | ||
flatpak-run.h | ||
flatpak-utils.c | ||
flatpak-utils.h |