wiki.techinc.nl/tests/phpunit/includes/Rest
C. Scott Ananian 4a1b4aeb2a Rest: Use try/catch to handle URIs with embedded colon
This is a follow up to a previous fix in
4079d328e7 which used parse_url()==false
as an indirect test to see if `new Uri()` would throw.  Avoid the
indirection and use a try/catch instead to be more robust against
fixes in the Uri library and/or the parse_url() implementation.

Bug: T256831
Bug: T261344
Change-Id: Ia52c5b2c77a4481afd82b468c2f7fb3c05996a91
2020-09-04 13:50:28 +00:00
..
BasicAccess MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
EntryPointTest.php Add option to enable cross-origin resource sharing (CORS) in REST API 2020-08-04 15:49:58 -04:00
RequestFromGlobalsTest.php Rest: Use try/catch to handle URIs with embedded colon 2020-09-04 13:50:28 +00:00