diff options
author | Kunal Mehta <legoktm@member.fsf.org> | 2018-09-23 11:58:14 -0700 |
---|---|---|
committer | James D. Forrester <jforrester@wikimedia.org> | 2018-09-24 08:56:48 -0700 |
commit | f198154d767824e3ade13e39774f20641917674e (patch) | |
tree | 678c1d9fc3bda48bbbcfe62bb71e3fafe4e56759 /tests/phpunit/includes/api/ApiQueryRecentChangesIntegrationTest.php | |
parent | 2edd34a881e90fb8307d055e817f3ef0c2cfc6bb (diff) | |
download | mediawikicore-f198154d767824e3ade13e39774f20641917674e.tar.gz mediawikicore-f198154d767824e3ade13e39774f20641917674e.zip |
SpecialLog: Don't throw exceptions on invalid date from user input
If users provide invalid input to the date option on Special:Log (most likely
an intentional thing given the calendar input widget), don't let the
TimestampException bubble up - just discard the invalid date.
Integration test included, which fails without this patch.
Bug: T201411
Change-Id: Ie1a9a84343ae4e78e076586f759917e5fd5af33c
Diffstat (limited to 'tests/phpunit/includes/api/ApiQueryRecentChangesIntegrationTest.php')
0 files changed, 0 insertions, 0 deletions