Recall a faulty previous commit that was related to forbiding the uploading of a...
authorNatasa Kapravelou <akapravelou@gmail.com>
Thu, 7 Oct 2010 14:24:05 +0000 (17:24 +0300)
committerNatasa Kapravelou <akapravelou@gmail.com>
Thu, 7 Oct 2010 14:24:05 +0000 (17:24 +0300)
src/gr/ebs/gss/client/FolderPropertiesDialog.java
src/gr/ebs/gss/server/ejb/ExternalAPIBean.java
src/gr/ebs/gss/server/rest/FilesHandler.java

index a3e7b54..623013f 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
- * Copyright 2007, 2008, 2009 Electronic Business Systems Ltd.\r
+ * Copyright 2007, 2008, 2009, 2010 Electronic Business Systems Ltd.\r
  *\r
  * This file is part of GSS.\r
  *\r
index 0bf7db6..3d999da 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2007, 2008, 2009 Electronic Business Systems Ltd.
+ * Copyright 2007, 2008, 2009, 2010  Electronic Business Systems Ltd.
  *
  * This file is part of GSS.
  *
index f98fb69..e13dd82 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2008, 2009 Electronic Business Systems Ltd.
+ * Copyright 2008, 2009, 2010 Electronic Business Systems Ltd.
  *
  * This file is part of GSS.
  *
@@ -1464,10 +1464,10 @@ public class FilesHandler extends RequestHandler {
                                String name = null;
                                if (json.opt("name") != null)
                                        name = json.optString("name");
-                               if (!isValidResourceName(name)) {
-                               resp.sendError(HttpServletResponse.SC_BAD_REQUEST);
-                               return;
-                       }
+//                             if (!isValidResourceName(name)) {
+//                             resp.sendError(HttpServletResponse.SC_BAD_REQUEST);
+//                             return;
+//                     }
                                Long modificationDate = null;
                                if (json.optLong("modificationDate") != 0)
                                        modificationDate = json.optLong("modificationDate");