[Bug 1852414] perl-Email-MIME-ContentType 1.024.1 appears to break bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1852414 --- Comment #3 from Frank Ch. Eigler --- (In reply to Paul Howarth from comment #2) > Looks like Bug #1855962, which would be a bugzilla bug rather than one in > perl-Email-MIME-ContentType. Arguably, infrastructure code should not add new assertions ("croak") that result in program crashes for API usage that was formerly acceptable. Perhaps consider turning that into a warning, if the Email-MIME code can tolerate the previous usage? -- You are receiving this mail because: You are on the CC list for the bug. ___ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
[Bug 1852414] perl-Email-MIME-ContentType 1.024.1 appears to break bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1852414 --- Comment #2 from Paul Howarth --- Looks like Bug #1855962, which would be a bugzilla bug rather than one in perl-Email-MIME-ContentType. -- You are receiving this mail because: You are on the CC list for the bug. ___ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
[Bug 1852414] perl-Email-MIME-ContentType 1.024.1 appears to break bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1852414 --- Comment #1 from Tom "spot" Callaway --- This is the change that caused the issue: https://github.com/rjbs/Email-MIME-ContentType/commit/ed2a0311dbaa268dc575a0eb55ddaace8038571e Essentially, one of the subtypes is not matching this regex: my $re_token = qr/[\x21\x23-\x27\x2A\x2B\x2D\x2E\x30-\x39\x41-\x5A\x5E-\x7E]+/; # US-ASCII except SPACE, CTLs and tspecials ()<>@,;:\\"/[]?= If you can change this line (178) from: croak 'Invalid Content-Type \'subtype\' parameter' if $ct->{subtype} !~ /^(?:$re_token)*$/; to croak "Invalid Content-Type 'subtype' parameter: '$ct->{subtype}'" if $ct->{subtype} !~ /^(?:$re_token)*$/; I think that will shed light on what subtype in Bugzilla is not passing the regex, and whether that is a bug in Bugzilla or in the regex. -- You are receiving this mail because: You are on the CC list for the bug. ___ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org