Albert221 has uploaded a new change for review.
https://gerrit.wikimedia.org/r/258629
Change subject: Resolve code invoking Title::newFromURL
......................................................................
Resolve code invoking Title::newFromURL
Bug: T65424
Change-Id: I0cff8f1ecc3138b79655147e9e068ee3b3269e20
---
M NetworkAuth.class.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/NetworkAuth
refs/changes/29/258629/1
diff --git a/NetworkAuth.class.php b/NetworkAuth.class.php
index 313c73d..d0ca043 100644
--- a/NetworkAuth.class.php
+++ b/NetworkAuth.class.php
@@ -190,7 +190,7 @@
// $this->getTitle() will just give Special:Badtitle, which is
// not especially useful as a returnto parameter. Use the title
// from the request instead, if there was one.
- $page = Title::newFromURL( $request->getVal( 'title', '' ) );
+ $page = Title::newFromText( $request->getVal( 'title', '' ) );
$page = $request->getVal( 'returnto', $page );
$a = array();
if ( strval( $page ) !== '' ) {
--
To view, visit https://gerrit.wikimedia.org/r/258629
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0cff8f1ecc3138b79655147e9e068ee3b3269e20
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/NetworkAuth
Gerrit-Branch: master
Gerrit-Owner: Albert221 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits