lychee/fixtures/TEST_EMAIL_QUERY_PARAMS.html
Matthias d61105edbb
Fix parsing error of email addresses with query params (#809)
Email addresses with query parameters often get used in
contact forms on websites. They can also be found in
other documents like Markdown.

A common use-case is to add a subject line to the email
as a parameter e.g. `mailto:mail@example.com?subject="Hello"`.

Previously we handled such cases incorrectly by recognizing
them as files. The reason was that our email parsing was too strict
to allow for that use-case.
With `email_address` we switched to a more permissive parser.

Note that this does not affect the actual address email checking,
as this is still done `check-if-email-exists`, which has more strict
check functionality.
2022-11-05 23:40:33 +01:00

14 lines
254 B
HTML
Vendored

<html lang="en">
<head>
<title>Lychee Test</title>
</head>
<body>
<p>
Please email
<a href="mailto:hello@example.org?subject=%5BHello%5D"
>hello@example.org</a
>
for any questions.
</p>
</body>
</html>