Skip to content

A free, self-hostable news aggregator…

Bug usernames with uppercase

Alexandre Alapetite11b807e4c3ee
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 '';