** Description changed: Currently snapd accepts app names that can cause issues in the rest of - the syste (e.g. invalid apparmor profiles like "myapp/", or clashing + the system (e.g. invalid apparmor profiles like "myapp/", or clashing with hook names). These should be more restrictive: the current recommendation is `^[a-zA-Z0-9](?:-?[a-zA-Z0-9])*$`. + + [Impact] + + * snaps with invalid names are generated and installable. + + * blocking problems earlier will make the experience better. + + [Test Case] + + * For snapcraft: make a snapcraft.yaml with an invalid name, and run + snapcraft. + + * For snappy: make a snap with an invalid name, and try to install it. + + [Regression Potential] + + * Valid names could be affected. Run some tests on valid names too.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1589613 Title: Snap app names are too permissive To manage notifications about this bug go to: https://bugs.launchpad.net/click-reviewers-tools/+bug/1589613/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs