[Bug 1852414] perl-Email-MIME-ContentType 1.024.1 appears to break bugzilla

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1852414



--- Comment #1 from Tom "spot" Callaway <spotrh@xxxxxxxxx> ---
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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]

  Powered by Linux