Putting text between api.php and the ? no longer works (PATH_INFO part of the url)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Putting text between api.php and the ? no longer works (PATH_INFO part of the url)

Brian Wolff-2
Previously, it was possible to access the api via urls like:

* https://en.wikipedia.org/w/api.php/Some_text_here?action=query&titles=...
* https://www.wikidata.org/w/api.php/    (Plus some POST data)
etc.

Due to a security issue in certain browsers, we are no longer allowing
any text to be between "api.php" and the ?. If anything is there you
will get a 301 redirect to the url with the extraneous text removed.

Hopefully this doesn't cause any inconvenience to anyone.

Sincerely,
Brian Wolff

_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Loading...