wiki.techinc.nl/includes/Rest
Tim Starling 2f6b427f40 In Rest\ResponseFactory, substitute invalid UTF-8
Most of the time this is due to garbage user input, and MediaWiki's
normal handling of user input strings is to normalize them, not to
throw.

There are some hypothetical cases where a developer might want to see an
exception, rather than passing garbage to the client and letting the
client fail, but normalization is a defensible policy and works within
the existing interfaces.

Bug: T289597
Change-Id: Ida5ee72c10d1c3499b5b17594c5675db7cd38335
2021-08-26 08:58:45 +10:00
..
BasicAccess build: Updating dependencies 2021-07-22 03:36:05 +00:00
Handler Revert "Use CsrfTokenSet as CSRF token source" 2021-08-05 15:48:26 -07:00
HeaderParser build: Updating dependencies 2021-07-22 03:36:05 +00:00
Hook Document hook names in hook interfaces. 2020-09-27 12:03:12 +02:00
i18n Localisation updates from https://translatewiki.net. 2021-06-29 08:01:24 +02:00
PathTemplateMatcher Replace "@stable for calling" by "@stable to call" 2020-07-13 08:55:28 +00:00
Validator Rest: inject Authority into Handler 2021-01-21 15:09:34 -06:00
ConditionalHeaderUtil.php PHP 7.4 fixes 2019-11-22 09:49:56 +00:00
CopyableStreamInterface.php Add missing public visibility on rest related interface methods 2020-05-09 11:17:27 +00:00
coreDevelopmentRoutes.json Eliminate use of Title object in REST infrastructure 2021-05-05 18:54:58 -07:00
coreRoutes.json Schema migration for revison_actor_temp table removal 2021-07-14 08:29:04 +10:00
CorsUtils.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
EntryPoint.php Make EntryPoint::getTextFormatters() private 2021-06-02 13:36:16 +00:00
Handler.php More master -> primary documentation and internal var renaming 2021-07-15 11:20:20 +01:00
HeaderContainer.php Unsuppress more phan issues (part 3) 2019-08-31 16:38:55 +00:00
HttpException.php Remove unused default values from class properties 2021-05-12 13:44:28 +02:00
JsonEncodingException.php
LocalizedHttpException.php Replace "@stable for calling" by "@stable to call" 2020-07-13 08:55:28 +00:00
RedirectException.php MediaWiki\Rest\HttpException: Support 3xx codes and wrapped Response 2020-09-11 14:52:54 -04:00
RequestBase.php REST: Rename attributes to path params 2019-06-14 17:01:15 +10:00
RequestData.php Fix typo: 'the the' -> 'the' 2020-05-03 20:45:36 +01:00
RequestFromGlobals.php Rest: Use try/catch to handle URIs with embedded colon 2020-09-04 13:50:28 +00:00
RequestInterface.php Add missing public visibility on rest related interface methods 2020-05-09 11:17:27 +00:00
Response.php
ResponseException.php MediaWiki\Rest\HttpException: Support 3xx codes and wrapped Response 2020-09-11 14:52:54 -04:00
ResponseFactory.php In Rest\ResponseFactory, substitute invalid UTF-8 2021-08-26 08:58:45 +10:00
ResponseInterface.php Fix some @stable for ... annotations to use @stable to ... 2021-07-08 02:54:59 +00:00
Router.php build: Updating dependencies 2021-07-22 03:36:05 +00:00
SimpleHandler.php Replace "@stable for subclassing" with "@stable to extend" 2020-07-13 11:00:30 +02:00
Stream.php
StringStream.php Remove unused default values from class properties 2021-05-12 13:44:28 +02:00