mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-27 17:18:11 -05:00
baeb666215ebe4579ba6cce7b52acbed4e32a98a
There are several reasons to verify these. First of all we use these as filename elements, so we need to sure that dangerous things like "..", "/" etc don't appear in them. Secondly, we want to guarantee that app names are valid dbus well known bus names as they are used as app-ids in e.g. desktop files. We also want to enforce the app name as prefix for exported files to avoid conflicts. This means we disallow two-element names like "org.gnome", and we disallow "-" in app names, so that "-" can be used to separate the app name prefix from the rest of the filename. In particular, this is important for icons, like "org.gnome.app-symbolic.svg", where we want the only valid prefix to be org.gnome.app.
Description
No description provided
Languages
C
91.1%
Shell
5.1%
Python
1.8%
Meson
1.1%
Yacc
0.8%