In the URI escaping spec, '+' is the special (optional) escape code for space.  But 
since %XX works for any character, %20 also works for space.

-c


At 4:54 PM -0700 6/27/00, Michael Blakeley wrote:
>With the default $escapemode, Embperl seems to encode
>       javascript('foo bar')
>as
>       javascript('foo+bar')
>but I would have expected
>       javascript('foo%20bar')
>like Apache::Utils::escape_uri() does it. The '+', to me, means multiple options.
>
>Am I misguided? Or is Embperl? Or is this one of those 'undefined behavior' things?
>
>thanks,
>-- Mike
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


------------------------------------------------------------------------
Chris Thorman                                       (413) 473-0853 e-fax
------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to