You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by John Aughey <jh...@washucsc.org> on 2001/04/20 04:14:49 UTC

Semi-colon URL input field delimiters

Traditionally parameters that are embedded in a url are separated by an
ampersand.  So a URL might look like http://form.cgi?id=1&foo=bar

The new style is to use semi-colons to separate parameters so it would
look like http://form.cgi?id=1;foo=bar

Embperl does not seem to accept the semi-colon separaters out of the
box.  I'm gone through the documentation, but I can't seem to find how to
change this behavior.  Does anyone know how to have Embperl use
semi-colon's to seperate input fields?

Thank you
John Aughey



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Semi-colon URL input field delimiters

Posted by Gerald Richter <ri...@ecos.de>.
>
> Embperl does not seem to accept the semi-colon separaters out of the
> box.

Brent A. Ellingson send a patch to make semicolons works, just one week ago
to the list. It's already applied to the CVS version of Embperl (along with
change of URL escaping, to escape ; now). So the easiest is to fetch the
current CVS version (see perldoc CVS). It will soon be released as 1.3.2

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Semi-colon URL input field delimiters

Posted by Kee Hinckley <na...@somewhere.com>.
At 9:14 PM -0500 4/19/01, John Aughey wrote:
>Embperl does not seem to accept the semi-colon separaters out of the
>box.  I'm gone through the documentation, but I can't seem to find how to
>change this behavior.  Does anyone know how to have Embperl use
>semi-colon's to seperate input fields?

This was discussed recently here--it's on Gerald's feature list I 
believe.  There's no way to enable them right now.

Out of curiosity though.  Why did everyone suddenly decide that & 
wasn't good enough?  When I think of all the code that has to be 
augmented.  All the changes that have to be made to handle both 
cases.  All the potential security holes from software that checks 
for one but not the other....  What's the point?

I'm in a rather rotten mood about 
unnecessary-multiple-ways-of-doing-the-same-thing right now, since I 
just spent over an hour tracking down a few spammers who decided to 
obfuscate their URLs using Microsoft Windows URL "features" like:

http://0x42.0x5C.0x48.0xC2/
http://0000102.0000134.0000110.0000302/
http://38685626227668133590597698.38685626227668133590597724.38685626227668133590597704.38685626227668133590597826
and of course
http://www.microsoft.com%401113344194

Those all go to my site, in case you're concerned about clicking on 
unknown URLs.
-- 
Kee Hinckley - Somewhere.Com, LLC
http://consulting.somewhere.com/consultants.html#kee

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org