[Kde-imaging] [Bug 142259] Export to Gallery 2.2-RC-1 fails
Gerhard Kulzer
gerhard at kulzer.net
Wed Apr 18 16:30:22 CEST 2007
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=142259
------- Additional Comments From gerhard kulzer net 2007-04-18 16:30 -------
Am Wednesday 18 April 2007 schrieb Colin Guthrie:
> Fix login to Gallery 2.2.
>
> This was a very annoying bug to track down but it essentially relates
> to a bug in the generation of Cookies in Gallery 2.2.
>
> Gallery actually generates 3 Set-Cookie headers in it's response which
> seems excessive. The first one is a GALLERYSID=<blank> and the other
> two set it to the correct value. The routine that parses cookies is
> somewhat dumb and just passes any cookies it receives back to the
> server on the next request. By passing the blank GALLERYSID, Gallery
> ensured that it did not connect to your logged in session.
>
> The cookie parsing code should be make more intellegent, but in the
> mean time I've put in a very simple fix.
>
> Testing and feedback appreciated.
>
> This also applies the patch by Martin Kaufmann - thanks.
> BUG: 142259
>
> M +1 -1 gallerympform.cpp
> M +10 -6 gallerytalker.cpp
Thanks very much Colin, it works again and faster than before.
Question: I often use webdav to update gallery2.2 but it doesn't work
consistantly. Do you have any plans of integrating an update function into
the kipis?
Gerhard
More information about the Kde-imaging
mailing list