https://bugzilla.wikimedia.org/show_bug.cgi?id=44658

Arthur Richards <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Arthur Richards <[email protected]> ---
Whoops. The code that handles the redirect only appears to care about
'returnto' and 'returntoquery' params:

if ( $wgMFForceSecureLogin && WebRequest::detectProtocol() != 'https' ) {
            // get the https url and redirect
            $request = $special->getContext()->getRequest();
            $query = array(
                'returnto' => $request->getVal( 'returnto', '' ),
                'returntoquery' => $request->getVal( 'returntoquery', '' ),
            );
            $url = $mobileContext->getMobileUrl(
                $special->getFullTitle()->getFullURL( $query ),
                true
            );
            $special->getContext()->getOutput()->redirect( $url );
        }

This should be a quick fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to