mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RSS
synced 2024-09-23 18:29:51 +00:00
Replace Http::isValidURI with MWHttpRequest::isValidURI
Bug: T305813 Change-Id: I76d143117be4608588f41700f384205d7bbf2052
This commit is contained in:
parent
1422cd3def
commit
0d6929b901
|
@ -65,7 +65,7 @@ class RSSHooks {
|
|||
|
||||
}
|
||||
|
||||
if ( !Http::isValidURI( $input ) ) {
|
||||
if ( !MWHttpRequest::isValidURI( $input ) ) {
|
||||
return RSSUtils::getErrorHtml( 'rss-invalid-url', htmlspecialchars( $input ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue