Dr0ptp4kt has uploaded a new change for review.
https://gerrit.wikimedia.org/r/93893
Change subject: Make clicks on "Yes" for Desktop interstitial redirect properly.
......................................................................
Make clicks on "Yes" for Desktop interstitial redirect properly.
* For bug 52536.
Change-Id: I26019c354e5e561f774f9c350324fc0411876393
---
M includes/PageRenderingHooks.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ZeroRatedMobileAccess
refs/changes/93/93893/1
diff --git a/includes/PageRenderingHooks.php b/includes/PageRenderingHooks.php
index c93293f..cb84f2d 100644
--- a/includes/PageRenderingHooks.php
+++ b/includes/PageRenderingHooks.php
@@ -935,7 +935,7 @@
$ch1 = substr( $href, 1, 1 );
// Local links start with either '#...', '?...'
or '/...', but not '//...'
if ( $ch0 !== '#' && $ch0 !== '?' && ( $ch0 !==
'/' || $ch1 === '/' ) ) {
- return 'href=' . $quoteChar .
$self->makeRedirect( $href ) . $quoteChar ;
+ return 'href=' . $quoteChar .
$self->makeRedirect( htmlspecialchars_decode( $href ) ) . $quoteChar ;
} else {
return $matches[0];
}
--
To view, visit https://gerrit.wikimedia.org/r/93893
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I26019c354e5e561f774f9c350324fc0411876393
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ZeroRatedMobileAccess
Gerrit-Branch: master
Gerrit-Owner: Dr0ptp4kt <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits