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

Brad Jorsch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected]
          Component|OAuth                       |General/Unknown
            Version|unspecified                 |wmf-deployment
            Product|MediaWiki extensions        |Wikimedia

--- Comment #5 from Brad Jorsch <[email protected]> ---
(In reply to Bawolff (Brian Wolff) from comment #4)
> Verified, when editing from a user-agent that would be redirected to the
> mobile site, after authorizing, page gets redirected to mobile site and
> errors.

I had suspected this, thanks for confirming.

After some further investigation, it looks to me like it's actually a bug in
WMF's varnish layer trying to redirect mobile clients to the mobile site: it
doesn't hit on the first request that uses
/w/index.php?title=Special:OAuth/authorize&oauth_token=abc123&oauth_consumer_key=abc123,
but the POST back to /wiki/Special:OAuth/authorize is caught and since browsers
treat a 302 redirect as 303 rather than 307 this breaks everything. The
relevant code appears to be in the operations/puppet repo,
templates/varnish/text-frontend.inc.vcl.erb, sub mobile_redirect.

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

Reply via email to