Author: toad
Date: 2009-01-07 19:34:45 +0000 (Wed, 07 Jan 2009)
New Revision: 24966

Modified:
   trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
Log:
Document


Modified: trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java  2009-01-07 
19:33:43 UTC (rev 24965)
+++ trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java  2009-01-07 
19:34:45 UTC (rev 24966)
@@ -556,6 +556,9 @@
         // Search form
         if(core.node.pluginManager != null && 
                        
core.node.pluginManager.isPluginLoaded("plugins.XMLLibrarian.XMLLibrarian")) {
+               // XMLLibrarian <= version 18 only support GET.
+               // But GET forms don't work with secureid checking enabled.
+               // FIXME eventually switch to all POST.
                HTMLNode form = ctx.getContainer().isSecureIDCheckingDisabled() 
? 
                                searchBox.addChild("form", new String[] { 
"method", "action" }, new String[] { "GET", 
"/plugins/plugins.XMLLibrarian.XMLLibrarian" }) : 
                                        ctx.addFormChild(searchBox, 
"/plugins/plugins.XMLLibrarian.XMLLibrarian", "searchBox");

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to