Skip to content
Snippets Groups Projects
Commit 37722858 authored by Adrian Lang's avatar Adrian Lang
Browse files

Correctly decode user names in subscriptions

parent 6353ef5a
No related branches found
No related tags found
No related merge requests found
......@@ -175,6 +175,10 @@ function subscription_find($page, $pre) {
// This is an old subscription file.
$subscription = trim($subscription) . " every\n";
}
list($user, $rest) = explode(' ', $subscription, 2);
$subscription = rawurldecode($user) . " " . $rest;
if (preg_match(subscription_regex($pre), $subscription,
$line_matches) === 0) {
continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment