aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-02-25 13:08:06 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-02-25 13:08:06 +0100
commit0bd4b2c74204a2f9360816ab22aac0da4c459824 (patch)
treec1d2bb58ee20fe0c840fa5d06eab1445da45ac1c
parentbe2bf83e3c516a6f8f1822c879df8798e50e514b (diff)
Changelog 1423
-rw-r--r--CHANGELOG.md2
-rw-r--r--app/Controllers/userController.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4738b7360..885b625f2 100644
--- a/CHANGELOG.md
+++ b/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
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php
index 13a6fce67..593e24cf2 100644
--- a/app/Controllers/userController.php
+++ b/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}';