Author: toad
Date: 2006-12-01 19:36:42 +0000 (Fri, 01 Dec 2006)
New Revision: 11182

Modified:
   trunk/freenet/src/freenet/clients/http/HTTPRequest.java
Log:
Fix NPE on the queue page.

Modified: trunk/freenet/src/freenet/clients/http/HTTPRequest.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/HTTPRequest.java     2006-12-01 
19:33:37 UTC (rev 11181)
+++ trunk/freenet/src/freenet/clients/http/HTTPRequest.java     2006-12-01 
19:36:42 UTC (rev 11182)
@@ -428,6 +428,7 @@
         * params, whereas if it is multipart/form-data it will be separated 
into buckets.
         */
        private void parseMultiPartData() throws IOException {
+               if(data == null) return;
                String ctype = (String) this.headers.get("content-type");
                if (ctype == null) return;
                String[] ctypeparts = ctype.split(";");


Reply via email to