[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] bounce and history-scan
Quoting Christian Gmuender (cg@simultec.ch):
> Hi all,
>
> results.html:
>
> [bounce href="[history-scan exclude=nothing]"]
>
> can lead to a lost of the session_id if the url found in
> history-scan is not correctly urlencoded (for example
> contains space characters at product categorys).
>
> This appears only if you do not allow cookies and your
> server is behind a proxy server.
>
> To prevent this problem write something like:
>
> [seti oldhref][history-scan exclude=nothing][/seti]
> [calc]
> $Scratch->{oldhref} =~ s/ /%20/g; #some
> encoder
>
> return;
> [/calc]
> [bounce href="[scratch oldhref]"]
>
Might be just as easy to modify the [history-scan] tag to
do this, which it probably should....that tag was whipped
up in minutes for the Simple demo as an example of a catalog
user tag. 8-)
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <mike@perusion.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer