allowed_schemes was misspelled

This commit is contained in:
Mikael Nordfeldth 2017-04-26 22:11:28 +02:00
parent ee29b23bd4
commit 839b3e7392
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ class ActivityUtils
// Possibly an upstream bug; tag: URIs aren't validated properly
// unless you explicitly ask for them. All other schemes are accepted
// for basic URI validation without asking.
if ($validate->uri($uri, array('allowed_scheme' => array('tag')))) {
if ($validate->uri($uri, array('allowed_schemes' => array('tag')))) {
return true;
}