Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 4246
Status: resolved
Priority: 0/
Queue: CPANPLUS

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

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



Subject: Arg parsing is too naive
CPAN Terminal> ! print "foo", "bar", "blech" foobarblech CPAN Terminal> ! print "foo", "-bar", "blech" fooblech This could lead to severe problems: CPAN Terminal> ! system("formatsystemdisk", "-checkonly")
Subject: Re: [cpan #4246] Arg parsing is too naive
From: Autrijus Tang <autrijus [...] autrijus.org>
To: bug-CPANPLUS [...] rt.cpan.org
Date: Fri, 31 Oct 2003 16:32:08 +0800
RT-Send-Cc:
?b 四, 2003-10-30 22:03, Johan_Vromans via RT ?g?D?G Show quoted text
> CPAN Terminal> ! print "foo", "-bar", "blech" > fooblech > This could lead to severe problems: > CPAN Terminal> ! system("formatsystemdisk", "-checkonly")
Well, don't do that then. :-) But seriously, I don't see it as a showstopper, so it will have to wait till 0.050. Thanks, /Autrijus/
Download signature.asc
application/pgp-signature 187b

Message body not shown because it is not plain text.

it's now fixed in -devel: CPAN Terminal> ! system('wget --version'); GNU Wget 1.8.2 Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Originally written by Hrvoje Niksic <hniksic@arsdigita.com>.