changeset 1292:e2ff18e85c37

Fixed interwiki bug in fckdialog, thanks to David Linke.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Wed, 16 Aug 2006 01:02:45 +0200
parents 277695e8e6f5
children b38376f52c8f
files MoinMoin/action/fckdialog.py docs/CHANGES
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/fckdialog.py	Tue Aug 15 22:59:12 2006 +0200
+++ b/MoinMoin/action/fckdialog.py	Wed Aug 16 01:02:45 2006 +0200
@@ -228,7 +228,7 @@
     interwiki_list = wikiutil.load_wikimap(request)
     interwiki = interwiki_list.keys()
     interwiki.sort()
-    iwpreferred = request.cfg.interwiki_preferred
+    iwpreferred = request.cfg.interwiki_preferred[:]
     if not iwpreferred or iwpreferred and iwpreferred[-1] is not None:
         resultlist = iwpreferred
         for iw in interwiki:
--- a/docs/CHANGES	Tue Aug 15 22:59:12 2006 +0200
+++ b/docs/CHANGES	Wed Aug 16 01:02:45 2006 +0200
@@ -208,6 +208,8 @@
       same as POSTs.
     * Fixed handling of anchors in wiki links for the Restructured text parser.
     * Fixed http header output.
+    * Fixed request.cfg corruption in the fckdialog code that could lead
+      to e.g. stalled servers (thanks to David Linke)
 
   Other changes:
     * we use (again) the same browser compatibility check as FCKeditor uses