[Zope] Another "Structure" Problem
Andreas Jung
lists at zopyx.com
Wed Aug 15 12:53:28 EDT 2007
--On 15. August 2007 12:48:06 -0400 tonylabarbara at aol.com wrote:
>
> Hi;
> I can work around this one, but it's not as elegant and will waste an
> hour or so. Here's the problem I'd like to resolve. I have this line of
> code:
>
> <a tal:attributes="href
> string:${here/renumberTheCart/absolute_url}?doc=${here/CheckOutAfterEditS
> tuff}">test</a>
>
> The problem is that "doc" comes back with all the special characters in
> ASCII:
>
> <a
> href="http://203.223.152.46:8080/lariman.com/s/renumberTheCart?doc=<di
> v><input type="hidden" name="redirect_cmd"
> value="_cart">
>
Yes, fix your code. Passing around HTML snippets through URLs just
bad-style. Otherwise look at the url_quote/url_quote_plus() methods as
mentioned some mails earlier.
-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070815/e09d72db/attachment.bin
More information about the Zope
mailing list