editmoin 1.17 authentication problem with moinmoin 1.9.9

Bug #1667084 reported by Hubert Hoegl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
editmoin
New
Undecided
Unassigned

Bug Description

Dear editmoin users,

I had the "body information not found" error with editmoin 1.17 and
moinmoin 1.9.9. After looking through the sourcecode I saw that there
are two urlopener.addheader() calls which are always called. The code
should be changed that only either one of them is called (moin < 1.6 and
moin >= 1.6). In previous versions of moinmoin this was no problem.
As a quick fix for me I simply commented out the first call.

Cheers,

Hubert Hoegl

@@ -340,7 +340,7 @@
         urlopener.proxies.update({"http": proxy})
     if cookievalue:
         # moinmoin < 1.6
- urlopener.addheader("Cookie", "MOIN_ID=%s" % cookievalue)
+ # urlopener.addheader("Cookie", "MOIN_ID=%s" % cookievalue)
         # moinmoin >= 1.6
         urlopener.addheader("Cookie", "%s=%s" % (cookiename, cookievalue))
     return urlopener

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.