File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
commons/src/main/java/org/restheart/exchange Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -1221,7 +1221,7 @@ public boolean isDbNameInvalidOnWindows(String dbName) {
1221
1221
}
1222
1222
1223
1223
/**
1224
- * Seehttps ://docs .mongodb.org/v3.2 /reference/limits/#naming-restrictions
1224
+ * See https ://www .mongodb.com/docs/manual /reference/limits/#naming-restrictions
1225
1225
*
1226
1226
* @return
1227
1227
*/
@@ -1231,16 +1231,12 @@ public boolean isCollectionNameInvalid() {
1231
1231
1232
1232
/**
1233
1233
* @param collectionName
1234
- * Seehttps ://docs .mongodb.org/v3.2 /reference/limits/#naming-restrictions
1234
+ * See https ://www .mongodb.com/docs/manual /reference/limits/#naming-restrictions
1235
1235
* @return
1236
1236
*/
1237
1237
public boolean isCollectionNameInvalid (String collectionName ) {
1238
1238
// collection starting with system. will return FORBIDDEN
1239
-
1240
- return (collectionName == null
1241
- || collectionName .contains (NUL )
1242
- || collectionName .contains ("$" )
1243
- || collectionName .length () == 64 );
1239
+ return (collectionName == null || collectionName .contains (NUL ) || collectionName .contains ("$" ));
1244
1240
}
1245
1241
1246
1242
/**
You can’t perform that action at this time.
0 commit comments