mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-29 03:47:42 +01:00
[XenForoBridge] Fix broken checks
This commit is contained in:
parent
65da157fff
commit
9c1c0f2974
@ -76,9 +76,7 @@ class XenForoBridge extends BridgeAbstract {
|
||||
$this->threadurl = filter_var(
|
||||
$this->getInput('url'),
|
||||
FILTER_VALIDATE_URL,
|
||||
FILTER_FLAG_SCHEME_REQUIRED |
|
||||
FILTER_FLAG_HOST_REQUIRED |
|
||||
FILTER_FLAG_PATH_REQUIRED);
|
||||
FILTER_FLAG_SCHEME_REQUIRED | FILTER_FLAG_HOST_REQUIRED | FILTER_FLAG_PATH_REQUIRED);
|
||||
|
||||
if($this->threadurl === false) {
|
||||
returnClientError('The URL you provided is invalid!');
|
||||
|
Loading…
x
Reference in New Issue
Block a user