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

Bawolff (Brian Wolff) <[email protected]> changed:

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

--- Comment #11 from Bawolff (Brian Wolff) <[email protected]> ---
Its caused by d25cb992, which changed how 


Ok the api request in question was

-----------------------------24311189326665
Content-Disposition: form-data; name="filename" 1413936868606Leipzig Market,
Saxony, Germany (LGM2014).jpg
-----------------------------24311189326665
Content-Disposition: form-data; name="action" upload
-----------------------------24311189326665
Content-Disposition: form-data; name="stash" 1
-----------------------------24311189326665
Content-Disposition: form-data; name="ignorewarnings" 1
-----------------------------24311189326665
Content-Disposition: form-data; name="comment" DUMMY TEXT
-----------------------------24311189326665
Content-Disposition: form-data; name="format" jsonfm
-----------------------------24311189326665
Content-Disposition: form-data; name="url"
https://farm8.staticflickr.com/7214/13781228444_81b22a1af8_o.jpg
-----------------------------24311189326665
Content-Disposition: form-data; name="token" <redacted>+\
-----------------------------24311189326665--


Note the lack of a format parameter - I guess the upload wizard doesn't check
for errors?

Anyhow, that makes the format be jsonfm. In d25cb992 the formatted output was
changed to use OutputPage, which has its own X-Frame-Options handling that
overrides the API's $wgApiFrameOptions. Which is why we're getting DENY for
this request.

-- 
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