[Webkit-unassigned] [Bug 45127] [GTK][Soup] implement local directory listing.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 2 13:54:12 PDT 2010


arno. <arno at renevier.net> changed:

           What    |Removed                     |Added
  Attachment #66407|                            |review?
               Flag|                            |

--- Comment #1 from arno. <arno at renevier.net>  2010-09-02 13:54:12 PST ---
Created an attachment (id=66407)
 --> (https://bugs.webkit.org/attachment.cgi?id=66407)
patch v1

Here is a first attempt:
As there already exist a FTPDirectoryDocument, I choose to use it.
So, soup backend set mime type to application/x-ftp-directory and sends data similar to a ftp directory. 
I discovered in FTPDirectoryParser.cpp there are many ftp listing formats, so I choose EPLF because it's the first one checked in parseOneFTPLine. I don't known if it's good choice especially since it's currently broken (bug #45113), but that can probably be easily changed.

If the trick of using application/x-ftp-directory mime type is not a good idea, may be we can create a LocalDirectoryDocument, and create our own scheme, or we can also use mozilla's dir index format. http://www.mozilla.org/projects/netlib/dirindexformat.html (but may it's better to not have two kind of parsers and documents for ftp and local directories)

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list