Where to deal with CRLF in Files retrieved with HTTP

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sat Oct 4 08:40:54 CDT 2003


Hallo,

Xilinx ISE 6.1 webupdate retrieves files per http. These files are CRLF
terminated and some of their contend is treated as strings as target for the
next HTTP request. This leads to a request like
0014:Call wininet.HttpOpenRequestA(42f6eeb0,1002a268 "GET",
	  438e17be "/direct/swhelp/series6/6.1i_latestservicepack.dat\r",...
                                                                     ^^
The \r at the end of the string results in the file not found on the
server. Running with native wininet results in the same error.

Who is responsible for stripping the \r?

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the wine-devel mailing list