Skip to content

Commit cd1b345

Browse files
committed
Merge pull request #11 from LearningLocker/issue/valid_mailto
Add backtick to Mailto regex pattern
2 parents 0c6a641 + cd46e9f commit cd1b345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mailto.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php namespace Locker\XApi;
22

33
class Mailto extends RegexpAtom {
4-
protected static $pattern = '/^mailto:[A-Z0-9.\'_%+-]+@[A-Z0-9.-]+\.[A-Z]{1,63}$/i';
4+
protected static $pattern = '/^mailto:[A-Z0-9.`\'_%+-]+@[A-Z0-9.-]+\.[A-Z]{1,63}$/i';
55
}

0 commit comments

Comments
 (0)