Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure Flatpak parser regex follows dbus bus name spec #1875

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

Micah-Kolide
Copy link
Contributor

The previous regex was prone to matching version strings as it was not ensuring the pattern didn't start with a digit. While the dbus bus name spec does allow for this, it only applies to unique connection names, while the package names are "well-known bus names", which can't start with a digit.

I've updated the regex to reflect this difference, as well I noticed the - was missing from the pattern so I've added that.

@Micah-Kolide Micah-Kolide added this pull request to the merge queue Oct 2, 2024
Merged via the queue into main with commit 64d6f6b Oct 2, 2024
32 checks passed
@Micah-Kolide Micah-Kolide deleted the micah/fix_flatpak_parser_regex branch October 2, 2024 20:37
@RebeccaMahany RebeccaMahany added the component:table Table Changes label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:table Table Changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants