Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 479
Status: resolved
Priority: 0/
Queue: CGI

People
Owner: LDS [...] cpan.org
Requestors: tdavis [...] birddog.com
Cc:
AdminCc:

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



MIME-Version: 1.0
X-Mailer: MIME-tools 5.405 (Entity 5.404)
Subject: print $q->filefield(-name=>'name',-default=>'foo'); does not work correctly
Content-Type: multipart/mixed; boundary="----------=_1018652184-16536-3"
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 219
Download (untitled) / with headers
text/plain 219b
rint $q->filefield(-name=>'uploaded_file', -default=>'foo', -size=>40); This will NOT place 'foo' in the filefield box as expected. I am using perl5.6.1 on redhat 6.2. No errors in apache. Thank you!
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
MIME-Version: 1.0
X-Mailer: MIME-tools 5.405 (Entity 5.404)
Content-Type: multipart/mixed; boundary="----------=_1018881042-14075-0"
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 336
Download (untitled) / with headers
text/plain 336b
Nevermind, its a browser problem per the documentation. [guest - Fri Apr 12 18:56:24 2002]: Show quoted text
> rint $q->filefield(-name=>'uploaded_file', > -default=>'foo', > -size=>40); > > This will NOT place 'foo' in the filefield box as expected. I am > using perl5.6.1 on redhat 6.2. > > No errors in apache. > > Thank you!
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Return-Path: <lstein [...] fontina.cshl.org>
Delivered-To: cpan-bug+cgi.pm [...] pallas.eruditorum.org
Received: from fontina.cshl.org (fontina.cshl.org [143.48.31.81]) by pallas.eruditorum.org (Postfix) with ESMTP id A729933AB for <bug-CGI.pm [...] rt.cpan.org>; Mon, 15 Apr 2002 12:27:34 -0400 (EDT)
Received: from localhost (localhost [[UNIX: localhost]]) by fontina.cshl.org (8.11.2/8.11.2) id g3FGRSX15179; Mon, 15 Apr 2002 12:27:28 -0400
Content-Type: text/plain; charset="iso-8859-1"
From: Lincoln Stein <lstein [...] cshl.org>
Reply-To: lstein [...] cshl.org
Organization: Cold Spring Harbor Laboratory
To: Guest via RT <bug-CGI.pm [...] rt.cpan.org>, "'AdminCc of cpan Ticket #479'": ;
Subject: Re: [cpan #479] print $q->filefield(-name=>'name',-default=>'foo'); does not work correctly
Date: Mon, 15 Apr 2002 12:27:28 -0400
X-Mailer: KMail [version 1.2]
References: <rt-479-1332.7.97299117781222 [...] cpan>
In-Reply-To: <rt-479-1332.7.97299117781222 [...] cpan>
MIME-Version: 1.0
Message-Id: <02041512272813.14695 [...] fontina>
Content-Transfer-Encoding: 8bit
X-RT-Original-Encoding: iso-8859-1
Content-Length: 668
Download (untitled) / with headers
text/plain 668b
I don't know whether this response will go to the right place, but the problem is that browsers have stopped accepting default values for file fields due to security concerns. Lincoln On Friday 12 April 2002 18:56, Guest via RT wrote: Show quoted text
> This message about CGI.pm was sent to you by guest via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=479 > > > rint $q->filefield(-name=>'uploaded_file', > -default=>'foo', > -size=>40); > > This will NOT place 'foo' in the filefield box as expected. I am using > perl5.6.1 on redhat 6.2. > > No errors in apache. > > Thank you!
Return-Path: <lstein [...] fontina.cshl.org>
Delivered-To: cpan-bug+cgi.pm [...] pallas.eruditorum.org
Received: from fontina.cshl.org (fontina.cshl.org [143.48.31.81]) by pallas.eruditorum.org (Postfix) with ESMTP id 0C4E63E92 for <bug-CGI.pm [...] rt.cpan.org>; Mon, 15 Apr 2002 12:28:33 -0400 (EDT)
Received: from localhost (localhost [[UNIX: localhost]]) by fontina.cshl.org (8.11.2/8.11.2) id g3FGSSI15183; Mon, 15 Apr 2002 12:28:28 -0400
Content-Type: text/plain; charset="iso-8859-1"
From: Lincoln Stein <lstein [...] cshl.org>
Reply-To: lstein [...] cshl.org
Organization: Cold Spring Harbor Laboratory
To: Guest via RT <bug-CGI.pm [...] rt.cpan.org>, "'AdminCc of cpan Ticket #479'": ;
Subject: Re: [cpan #479] print $q->filefield(-name=>'name',-default=>'foo'); does not work correctly
Date: Mon, 15 Apr 2002 12:27:28 -0400
X-Mailer: KMail [version 1.2]
References: <rt-479-1332.7.97299117781222 [...] cpan>
In-Reply-To: <rt-479-1332.7.97299117781222 [...] cpan>
MIME-Version: 1.0
Message-Id: <02041512272813.14695 [...] fontina>
Content-Transfer-Encoding: 8bit
X-RT-Original-Encoding: iso-8859-1
Content-Length: 668
Download (untitled) / with headers
text/plain 668b
I don't know whether this response will go to the right place, but the problem is that browsers have stopped accepting default values for file fields due to security concerns. Lincoln On Friday 12 April 2002 18:56, Guest via RT wrote: Show quoted text
> This message about CGI.pm was sent to you by guest via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=479 > > > rint $q->filefield(-name=>'uploaded_file', > -default=>'foo', > -size=>40); > > This will NOT place 'foo' in the filefield box as expected. I am using > perl5.6.1 on redhat 6.2. > > No errors in apache. > > Thank you!
Return-Path: <lstein [...] fontina.cshl.org>
Delivered-To: cpan-bug+cgi.pm [...] pallas.eruditorum.org
Received: from fontina.cshl.org (fontina.cshl.org [143.48.31.81]) by pallas.eruditorum.org (Postfix) with ESMTP id 1B3343E94 for <bug-CGI.pm [...] rt.cpan.org>; Mon, 15 Apr 2002 12:29:06 -0400 (EDT)
Received: from localhost (localhost [[UNIX: localhost]]) by fontina.cshl.org (8.11.2/8.11.2) id g3FGT6U15190 for bug-CGI.pm [...] rt.cpan.org; Mon, 15 Apr 2002 12:29:06 -0400
Content-Type: text/plain; charset="iso-8859-1"
From: Lincoln Stein <lstein [...] cshl.org>
Reply-To: lstein [...] cshl.org
Organization: Cold Spring Harbor Laboratory
To: Guest via RT <bug-CGI.pm [...] rt.cpan.org>
Subject: Re: [cpan #479] print $q->filefield(-name=>'name',-default=>'foo'); does not work correctly
Date: Mon, 15 Apr 2002 12:29:05 -0400
X-Mailer: KMail [version 1.2]
References: <rt-479-1332.7.97299117781222 [...] cpan>
In-Reply-To: <rt-479-1332.7.97299117781222 [...] cpan>
MIME-Version: 1.0
Message-Id: <02041512272813.14695 [...] fontina>
Content-Transfer-Encoding: 8bit
X-RT-Original-Encoding: iso-8859-1
Content-Length: 668
Download (untitled) / with headers
text/plain 668b
I don't know whether this response will go to the right place, but the problem is that browsers have stopped accepting default values for file fields due to security concerns. Lincoln On Friday 12 April 2002 18:56, Guest via RT wrote: Show quoted text
> This message about CGI.pm was sent to you by guest via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=479 > > > rint $q->filefield(-name=>'uploaded_file', > -default=>'foo', > -size=>40); > > This will NOT place 'foo' in the filefield box as expected. I am using > perl5.6.1 on redhat 6.2. > > No errors in apache. > > Thank you!
MIME-Version: 1.0
X-Mailer: MIME-tools 5.405 (Entity 5.404)
From: lstein [...] cshl.org
Content-Type: multipart/mixed; boundary="----------=_1020444917-20705-3"
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 412
Download (untitled) / with headers
text/plain 412b
[guest - Fri Apr 12 18:56:24 2002]: Show quoted text
> rint $q->filefield(-name=>'uploaded_file', > -default=>'foo', > -size=>40); > > This will NOT place 'foo' in the filefield box as expected. I am > using perl5.6.1 on redhat 6.2. > > No errors in apache. > > Thank you!
Most browsers disabled this feature a long time ago because people were using the default to upload secret files like /etc/passwd
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
MIME-Version: 1.0
Subject: car insurance<a href='http://www.insurance-top.com'
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Message-Id: <rt-3.5.HEAD-16982-1150132308-1531.479-0-0 [...] rt.cpan.org>
Content-Type: multipart/mixed; boundary="----------=_1150132308-16982-1"
From: http://www.insurance-top.com
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 387
Download (untitled) / with headers
text/plain 387b
<a href='http://www.yahoo.com'></a>Thanks! http://www.insurance-top.com/auto/ <a href='http://www.insurance-top.com'>auto insurance</a>. <a href="http://www.insurance-top.com ">Insurance car</a>: The autos insurance company, compare car insurance, auto insurance. Also [url]http://www.insurance-top.com/car/[/url] and [link=http://www.insurance-top.com]insurance quote[/link] from site .
MIME-Version: 1.0
Content-Type: text/plain; charset="utf8"
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 0
MIME-Version: 1.0
Subject: insurance auto<a href='http://www.insurance-top.com'
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Message-Id: <rt-3.5.HEAD-16979-1150132322-1400.479-0-0 [...] rt.cpan.org>
Content-Type: multipart/mixed; boundary="----------=_1150132322-16979-7"
From: http://www.insurance-top.com
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 267
Download (untitled) / with headers
text/plain 267b
Thanks!!! http://www.insurance-top.com/company/ auto site insurance. [URL=http://www.insurance-top.com]home insurance[/URL]: The autos insurance company, compare car insurance, auto insurance. Also [url=http://www.insurance-top.com]cars insurance[/url] from website .
MIME-Version: 1.0
Content-Type: text/plain; charset="utf8"
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 0
MIME-Version: 1.0
Subject: insurance auto<a href='http://www.insurance-top.com'
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Message-Id: <rt-3.5.HEAD-16979-1150132346-453.479-0-0 [...] rt.cpan.org>
Content-Type: multipart/mixed; boundary="----------=_1150132346-16979-8"
From: http://www.insurance-top.com
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 145
Download (untitled) / with headers
text/plain 145b
Hi! http://www.insurance-top.com/company/ auto site insurance. The autos insurance company, compare car insurance, auto insurance. from website .
MIME-Version: 1.0
Content-Type: text/plain; charset="utf8"
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 0


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.