[Webkit-unassigned] [Bug 15415] New: parse the end of line about the FTPDIR list error!
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Oct 7 20:11:35 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=15415
Summary: parse the end of line about the FTPDIR list error!
Product: WebKit
Version: 522+ (nightly)
Platform: PC
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Page Loading
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: weihong.zeng at hotmail.com
Split ftp list with '\n', but the variable
foundNewLine(loader/FTPDirectoryDocument.cpp:389) is setted when the current
character is '\r'.
See details about diffs:
Index: FTPDirectoryDocument.cpp
===================================================================
--- FTPDirectoryDocument.cpp £¨ÐÞ¶©°æ 26103£©
+++ FTPDirectoryDocument.cpp £¨¹¤×÷¿½±´£©
@@ -386,7 +386,6 @@
if (c == '\r') {
*m_dest++ = '\n';
- foundNewLine = true;
// possibly skip an LF in the case of an CRLF sequence
m_skipLF = true;
} else if (c == '\n') {
@@ -394,6 +393,7 @@
*m_dest++ = c;
else
m_skipLF = false;
+ foundNewLine = true;
} else {
*m_dest++ = c;
m_skipLF = false;
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list