SPUG: Re: perl2exe perl-cgi file size problem
William Julien
moonbeam at catmanor.com
Thu May 2 21:11:40 CDT 2002
>...
>> Modern browsers use ';' instead of '&' to separate parameters in the URL.
>> The [deleted] code sample would not handle that, so it may well fail to
>> just read text from a simple form input.
>>
>> I'd strongly suggest using CGI.pm instead of any hand-rolled solution.
Per rfc, the "&" is the delimintor. The examples given on the web pages
provied were handling the case where you have "&;". eg:
$str =~ tr/;/&/;
$str =~ tr/&//s;
The only time when this is an issue is when the broser issues a post or
get with a set of complex multipart mixed boundries. This is application
dependant, and under the control of the server code which designed to
work with multipart/mixed mime headers, and browser object parameters. No
browser that I know of replaces "&" for ";" on the get or post delimitor.
See...
http://www.perl.org/CGI_MetaFAQ.html
http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1808.html
---
William Julien _,'| _.-''``-...___..--';
moonbeam at catmanor.com /, \'. _..-' , ,--...--'''
vi is my shepherd; < \ .`--''' ` /|
i shall not font. `-,;' ; ; ;
__...--'' __...--_..' .;.'
(,__....----''' (,..--''
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
perl -e '( $ ,, $ ")=("a".."z")[0,-1]; print "sh", $ ","m\n";;";;"'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Subscriptions; Email to majordomo at pm.org: ACTION LIST EMAIL
Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
For daily traffic, use spug-list for LIST ; for weekly, spug-list-digest
Seattle Perl Users Group (SPUG) Home Page: http://seattleperl.org
More information about the spug-list
mailing list