[ic] UrlSplittor

Stefan Hornburg (Racke) racke at linuxia.de
Tue Sep 28 19:27:40 UTC 2010


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.

Regards
	Racke



-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team




More information about the interchange-users mailing list