summaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
authorGravatar Seokseong Jeon <sjeon87+github@gmail.com> 2017-05-05 01:43:34 +0900
committerGravatar GitHub <noreply@github.com> 2017-05-05 01:43:34 +0900
commitcb897980cd930ec73762118ca8e38ec0050ff5e3 (patch)
tree37ae732b80e856987739a6409c06cf6da66c95d0 /lib/lib_rss.php
parent09787cfd7a68e994f248c0cad0ebe5ae68b7aaf3 (diff)
parent53f00571e554f6eeea4fea19d9ddc5eca2ce2997 (diff)
Merge branch 'dev' into cli-act-num-articles
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index 4298e90bf..247cc707b 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -334,6 +334,9 @@ function max_registrations_reached() {
* @return a Minz_Configuration object, null if the configuration cannot be loaded.
*/
function get_user_configuration($username) {
+ if (!FreshRSS_user_Controller::checkUsername($username)) {
+ return null;
+ }
$namespace = 'user_' . $username;
try {
Minz_Configuration::register($namespace,