Closed jgrammen-agilitypr closed 1 year ago
it does not appear to change the regex for ppa's, so no I do not think it does.
Thank you for the crazy fast fix. correct me if I am wrong but it appears that the fix has a bug in it?
if $name !~ /^ppa:([a-zA-Z0-9\-_.]+)\/([a-zA-z0-9\-_\.]+)$/ {
should there not be a leading \
in front of the added .
just like in the second half of the regex?
ex:
if $name !~ /^ppa:([a-zA-Z0-9\-_\.]+)\/([a-zA-z0-9\-_\.]+)$/ {
Not necessary to escape a dot in a character class.
Describe the Bug
1052 introduced validation of ppa names
But it does not seems to account for all valid ppa names my ppa now fails https://launchpad.net/~jason.grammenos.agility/+archive/ubuntu/php-static
Expected Behavior
valid ppa's should be acccepted
Steps to Reproduce
Steps to reproduce the behavior:
notice error in output
Environment
Additional Context
Add any other context about the problem here.