Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
If you have mailto:user@example.com?subject=hello
that will be accepted as valid email address, but mailto:user@example.com?subject=Hello
is considered invalid.
Proposed resolution
Allow upper case characters in the query and anchor regex patterns, they are perfectly fine.
Comment | File | Size | Author |
---|---|---|---|
#7 | link-mailto-2813057-7.patch | 721 bytes | klausi |
|
Comments
Comment #2
klausiPatch.
Comment #4
JKingsnorth CreditAttribution: JKingsnorth commentedConfirmed the issue and the fix works well, thanks! One more review?
Comment #5
John Cook CreditAttribution: John Cook at Creode commentedI've re-rolled klausi's patch from #2.
Comment #7
klausi@John: you forgot to update the variable names that have changed in the meantime.
Patch rerolled, let's see if the tests pass now.
Comment #9
pifagorComment #10
klausiThe patch was only missing some automated test cases, but that can be added in a follow-up issue.
Comment #11
pifagorHello @klausi
If you add them, I will be grateful