Browse Source

Changelog 1423

Alexandre Alapetite 9 năm trước cách đây
mục cha
commit
0bd4b2c742
2 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 2 0
      CHANGELOG.md
  2. 1 1
      app/Controllers/userController.php

+ 2 - 0
CHANGELOG.md

@@ -15,6 +15,8 @@
 	* Allow empty strings in CLI do-install [#1435](https://github.com/FreshRSS/FreshRSS/pull/1435)
 * Security
 	* No version number for anonymous users [#1404](https://github.com/FreshRSS/FreshRSS/issues/1404)
+* Misc.
+	* Relaxed requirements for username to `/^[0-9a-zA-Z]|[0-9a-zA-Z_]{2,38}/$` [#1423](https://github.com/FreshRSS/FreshRSS/pull/1423)
 
 
 ## 2016-12-26 FreshRSS 1.6.2

+ 1 - 1
app/Controllers/userController.php

@@ -35,7 +35,7 @@ class FreshRSS_user_Controller extends Minz_ActionController {
 	}
 
 	/**
-	 * The username is also used as folder name, and part of SQL table name.
+	 * The username is also used as folder name, file name, and part of SQL table name.
 	 * '_' is a reserved internal username.
 	 */
 	const USERNAME_PATTERN = '[0-9a-zA-Z]|[0-9a-zA-Z_]{2,38}';