allowed_schemes was misspelled
This commit is contained in:
parent
df7ff4ef1a
commit
adfd76f44b
@ -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