Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the ExtUtils-Manifest CPAN distribution.

Report information
The Basics
Id: 57586
Status: resolved
Priority: 0/
Queue: ExtUtils-Manifest

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
rjbs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 1.66



Subject: whole-name-quoted filename can't be read
While adding support for quoted filenames (names with spaces) to Dist::Zilla, I found this bug in ExtUtils::Manifest. If you have a filename that begins and ends with quotes, and you enquote it as suggested, it is not properly dequoted. use strict; use ExtUtils::Manifest qw(maniread); --- my $manifest_content = <<'END_MANIFEST'; '\'quoted name.txt\'' END_MANIFEST { open my $fh, '>', 'MANIFEST' or die; print $fh $manifest_content; } my $manifest = maniread; print "$_\n" for keys %$manifest; --- This should print: 'quoted name.txt' Instead, it prints: quoted name.txt' -- rjbs
On Tue May 18 10:50:41 2010, RJBS wrote: Show quoted text
> While adding support for quoted filenames (names with spaces) to > Dist::Zilla, I found this bug > in ExtUtils::Manifest. If you have a filename that begins and ends > with quotes, and you > enquote it as suggested, it is not properly dequoted. >
Since ExtUtils-Manifest is now maintained in the Perl 5 core distribution, I have opened a ticket for this issue there: https://rt.perl.org/Ticket/Display.html?id=122415 This ticket is now superseded and may be closed. Thank you very much. Jim Keenan
On Sun Jul 27 19:07:37 2014, JKEENAN wrote: Show quoted text
> On Tue May 18 10:50:41 2010, RJBS wrote:
> > While adding support for quoted filenames (names with spaces) to > > Dist::Zilla, I found this bug > > in ExtUtils::Manifest. If you have a filename that begins and ends > > with quotes, and you > > enquote it as suggested, it is not properly dequoted. > >
> > > Since ExtUtils-Manifest is now maintained in the Perl 5 core > distribution, I have opened a ticket for this issue there: > https://rt.perl.org/Ticket/Display.html?id=122415 > > This ticket is now superseded and may be closed. > > Thank you very much. > Jim Keenan
Patch applied upstream at https://github.com/Perl-Toolchain-Gang/ExtUtils-Manifest/issues/1. Ticket may be closed.