cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Feature Requests-1871388 ] support FF3 sqlite cookie files

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 15 Jan 2008 15:29:35 -0800

Feature Requests item #1871388, was opened at 2008-01-14 18:32
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=350976&aid=1871388&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: download
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Benjamin Kahn (xkahn)
Assigned to: Nobody/Anonymous (nobody)
Summary: support FF3 sqlite cookie files

Initial Comment:
The -c/--cookie-jar option supports the Netscape cookie file format. Firefox 3 is moving from this format to a sqlite database instead.

I would like to see curl extended to support this new format as well.

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2008-01-16 00:29

Message:
Logged In: YES
user_id=1110
Originator: NO

I think as a first start, someone should write a stand-alone tool that
does nothing but converts a firefox3 cookie-database to and from a firefox2
cookies.txt file.

dlopen is not a good way to solve these issues. We did that for LDAP for a
long time and we suffered and we only recently finally got rid of it, so
there's just no way I'm going back to dlopening anything at all. We either
#1 - import/write the necessary code for this in the curl project, #2 - we
rely on the sqlite lib(s) or #3 - we don't suppore ff3 cookies natively at
all.

----------------------------------------------------------------------

Comment By: Benjamin Kahn (xkahn)
Date: 2008-01-15 17:35

Message:
Logged In: YES
user_id=7632
Originator: YES

I'm not sure where the functionality should be: curl or libcurl -- this
format SHOULD become more popular as time goes on.

There seem to be several ways to implement this: sqlite has a command
line interface which could be used to keep from needing a compile time
dependency. The library (which seems to be almost 500k) could be dlopen'd
at run time.

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2008-01-14 18:48

Message:
Logged In: YES
user_id=1110
Originator: NO

I agree that it would be nice, but:

#1 - someone has to do it

#2 - I don't want sqlite added as a dependency for libcurl so I think this
parsing is better done by curl and not libcurl

#3 - Adding a dependency on sqlite to curl just for the ability to read
these files feels like a high price to pay, but...

I've now added a mentioned about this in the TODO file!

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=350976&aid=1871388&group_id=976
Received on 2008-01-16

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET