Hi,

I found a problem when adding port 443 to the Host line in the http protocol when using "https://";

change line (542 in my code)...

    if FAddPortNumberToHost and (Port <> '80') then

into...

use_ssl := UpperCase(Prot)='HTTPS'; //<< maybe use this everywhere where 'https' is checked to avoid uppercase usage if (FAddPortNumberToHost) and (((use_ssl) and (port<>'443')) or ((not use_ssl) and (Port <> '80'))) then

When using the old code I was unable to parse one page where a redirect ended in an endless loop.

regards
sven bansemer

--
Managing director: Sven Bansemer, Thomas Scheel
GSA - Softwaredevelopment and Analytics - Sven Bansemer&  Thomas Scheel
GbR, Dierkower Damm 29, 18146 Rostock, Germany
Internet: http://www.gsa-online.de , http://www.findsoftware.eu
E-Mail: i...@gsa-online.de
Phone: +49 (381) 7006224
Fax: +49 (381) 7006224
VAT: DE240948750
___________________________________________________________________________
The information contained in this e-mail may be confidential information,
and may also be the subject of professional privilege. If you are not the
intended recipient, any use, interference with, disclosure or copying of
this material is unauthorised and prohibited. Please inform us immediately
and destroy the e-mail.

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to