mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-20 22:55:16 -04:00
An app id like org.domain.App-name is now allowed (dashes in the last element), but blindly appending e.g. ".Locale" to these for the locale extension will cause an invalid id. In order to handle this we replace "-" with "_" in this case, which should be fine as both are under the org.domain control which can make sure there are no conflicts, and there is no requirement for the id prefixes to exactly match. This fixes https://github.com/flatpak/flatpak/issues/370