cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klaus Bertram" <bert...@n-bis.de>
Subject RE: [C2] HTMLSerializer, %values & Netscape ?
Date Wed, 17 Oct 2001 13:59:16 GMT
Hi Marcus,

if you use the string as request parameter netscape must send it as
?PAR=this%20is%20a%20test
else try it with self.location.href=unescape(String)


I hope it helps
Klaus

> -----Original Message-----
> From: Marcus Crafter [mailto:crafterm@fztig938.bank.dresdner.net]
> Sent: Wednesday, October 17, 2001 3:32 PM
> To: Cocoon Developers Mailing List
> Subject: [C2] HTMLSerializer, %values & Netscape ?
>
>
> Hi All,
>
> 	Hope all is well.
>
> 	Recently, we've just noticed some interesting behaviour with the
> 	HTML serializer.
>
> 	<a href=".."/> tags are serialized with the 'href' attribute
> 	being encoded with %num values replacing spaced, double quotes,
> 	etc.
>
> 	eg.
>
> 	<a href="javascript:f('this is a test')"/>
>
> 	comes out to the browser as:
>
> 	<a href="javascript:f('this%20is%20a%20test')"/>
>
> 	In IE this seems to be handled fine, but in Netscape and
> Mozilla there
> 	are problems - the javascript interpreter registers a syntax error
> 	with the above function call. Apparently, it doesn't convert the
> 	%20's back into spaces. :-(
>
> 	Has anyone seen this behaviour before ?
>
> 	Cheers,
>
> 	Marcus
>
> --
>         .....
>      ,,$$$$$$$$$,      Marcus Crafter
>     ;$'      '$$$$:    Computer Systems Engineer
>     $:         $$$$:   Managesoft GmbH
>      $       o_)$$$:   82-84 Mainzer Landstrasse
>      ;$,    _/\ &&:'   60327 Frankfurt Germany
>        '     /( &&&
>            \_&&&&'     Email : Marcus.Crafter@managesoft.com
>           &&&&.        Business Hours : +49 69 9757 200
>     &&&&&&&:
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message