[ic] UrlSplittor
Bill Carr
bill at bottlenose-wine.com
Tue Sep 28 19:40:57 UTC 2010
On Sep 28, 2010, at 3:27 PM, Stefan Hornburg (Racke) wrote:
> On 09/28/2010 08:48 PM, Bill Carr wrote:
>> Shouldn't UrlSplittor have the same value as UrlJoiner when MV_HTML4_COMPLIANT is set?
>>
>> diff --git a/lib/Vend/Config.pm b/lib/Vend/Config.pm
>> index 15fb857..faab9f8 100644
>> --- a/lib/Vend/Config.pm
>> +++ b/lib/Vend/Config.pm
>> @@ -3639,7 +3639,7 @@ sub set_default_search {
>> sub global_directive_postprocess {
>> if($Global::UrlSepChar eq '&') {
>> $Global::UrlJoiner = $Global::Variable->{MV_HTML4_COMPLIANT} ? '&' : '&';
>> - $Global::UrlSplittor = qr/\&/;
>> + $Global::UrlSplittor = $Global::Variable->{MV_HTML4_COMPLIANT} ? qr/\&(amp;)?/ : qr/\&/;
>> }
>> else {
>> $Global::UrlJoiner = $Global::UrlSepChar;
>>
>>
>
> I suppose the browser resolves the escaped & in the URLs, so Interchange doesn't see them on incoming
> URLs.
>
I ran into a problem trying to do this:
[bounce
href='[area
href=existing_user
form=|
mv_returnpage=[either][cgi mv_returnpage][or][if cgi checking_out]ord/address[/if][/either]
mv_username=[cgi mv_username]
|
]'
]
With my change the above works. Without my change it does not work.
Bill Carr
Bottlenose - Wine & Spirits eBusiness Specialists
(413) 584-0400
http://www.bottlenose-wine.com
More information about the interchange-users
mailing list