diff options
| author | 2014-03-02 00:08:45 +0100 | |
|---|---|---|
| committer | 2014-03-02 00:08:45 +0100 | |
| commit | 11b807e4c3ee63172fecae9953d92a8b937a768a (patch) | |
| tree | 2cf4e4688544fd189b1c233306518a5b0e341c93 /lib | |
| parent | a8d06d12705a6467f2d11a8a6afc51ae2ea7088a (diff) | |
Bug usernames with uppercase
https://github.com/marienfressinaud/FreshRSS/issues/439
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lib_rss.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 8c6fb5543..83edbf015 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -219,7 +219,7 @@ function invalidateHttpCache() { } function usernameFromPath($userPath) { - if (preg_match('%/([a-z0-9]{1,16})_user\.php$%', $userPath, $matches)) { + if (preg_match('%/([A-Za-z0-9]{1,16})_user\.php$%', $userPath, $matches)) { return $matches[1]; } else { return ''; |
