pkg-perl-maintainers team mailing list archive
-
pkg-perl-maintainers team
-
Mailing list archive
-
Message #00205
[Bug 420024] [NEW] Subroutine "filepath" mismatch in libmediawiki-perl
Public bug reported:
There's a bug in the regular expression identified below. This bug
prevents the download method from MediaWiki.pm from being able to
download binary files. Another developer on our team caught it and
identified the fix.
Release: 8.04 LTS (Hardy)
Package: libmediawiki-perl
File: /usr/share/perl5/MediaWiki/page.pm
Using: MediaWiki 1.11-2-2
Action required: Changed line 72 In order to make the subroutine 'filepath' match as intended on line 490:
From: $filepath_regex = qr/(?<=<div class=["']fullImageLink["'] id=["']file["']>)[.\n]*?(?=<\/div>)/;
To: $filepath_regex = qr/(?<=<div class=["']fullImageLink["'] id=["']file["']>)[.\n]*(.*)(?=<\/div>)/;
** Affects: libmediawiki-perl (Ubuntu)
Importance: Undecided
Status: New
** Package changed: ubuntu => libmediawiki-perl (Ubuntu)
--
Subroutine "filepath" mismatch in libmediawiki-perl
https://bugs.launchpad.net/bugs/420024
You received this bug notification because you are a member of Debian
Perl Group, which is subscribed to libmediawiki-perl in ubuntu.
Follow ups
References