wiki.techinc.nl/tests/phpunit/includes/ExternalLinks
Ammarpad c373e0ba40 ExternalLinks: fix mailto: links reversal
If $mailparts does not contain two elements (which would be the case when the separator `@` is not present in the string), then we cannot
access $mailparts[1].

In this case, the entire path as is, is treated as the host.

Bug: T380880
Change-Id: I10187c93e67ce9294ff0b3866939d2c7d7292a9a
(cherry picked from commit c2db58c55bef207dd37ac5fe0b07aa28ee4bd2d5)
2025-02-28 16:33:54 +00:00
..
LinkFilterTest.php ExternalLinks: fix mailto: links reversal 2025-02-28 16:33:54 +00:00