allowed_schemes was misspelled
This commit is contained in:
parent
ee29b23bd4
commit
839b3e7392
|
@ -294,7 +294,7 @@ class ActivityUtils
|
||||||
// Possibly an upstream bug; tag: URIs aren't validated properly
|
// Possibly an upstream bug; tag: URIs aren't validated properly
|
||||||
// unless you explicitly ask for them. All other schemes are accepted
|
// unless you explicitly ask for them. All other schemes are accepted
|
||||||
// for basic URI validation without asking.
|
// 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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user