mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-23 07:59:28 -04:00
It turns out that live apps were exporting files with dashes other than "-symbolic". For instance "org.libreoffice.LibreOffice" was exporting "org.libreoffice.LibreOffice-writer.desktop". Allowing any dashes in the last segment like this is really no diffent than allowing org.libreoffice.LibreOffice.writer.desktop which we already do. Any conflicts here are under the control of the owner of the org.libreoffice prefix. However, allowing dashes in the earlier segments is more problematic. For instance, any file exported by "org.my-foo.App" could conflict with an app called "org.my" if this was allowed. So, as a middle ground, we're allowing dashes in the last segment of the App id only.