[Catalyst] badly formed urls
Bernard FRIT
bernard.frit at gmail.com
Tue Dec 13 09:33:55 CET 2005
Hi everybody,
When doing some intense testing on a new application (still in the
intranet) I found some badly formed urls.
I use explicit urls (product's description instead of product's sku) :
to display product : "Whatever CD" the urls is
"http://www.livrepnl.test/titre/Whatever%20CD/-/2d90ad949ab52e8e653b252b51272ed6"
and everything is OK.
but if product is : "Whatever title (1 CD)" the url becomes :
"http://www.livrepnl.test/titre/Whatever%20title%20(1%20CD/-/2d90ad949ab52e8e653b252b51272ed6)"
and the link is broken. Catalyst is adding session data just before the ")".
Here is the related TT code :
"<a href = '";c.req.base;"titre/";l.2 | uri | replace('\'','%27');"'>";
I can't figure out where it comes from ? TT or Cat ?
--
Bernard FRIT
More information about the Catalyst
mailing list