Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
aa25b57e
Commit
aa25b57e
authored
Oct 02, 2006
by
pookey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pookey: fixes #83
parent
04a3cb9f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Email.php
lib/Doctrine/Validator/Email.php
+6
-0
No files found.
lib/Doctrine/Validator/Email.php
View file @
aa25b57e
...
@@ -32,6 +32,12 @@ class Doctrine_Validator_Email {
...
@@ -32,6 +32,12 @@ class Doctrine_Validator_Email {
$sub_domain
=
"(
$domain_ref
|
$domain_literal
)"
;
$sub_domain
=
"(
$domain_ref
|
$domain_literal
)"
;
$word
=
"(
$atom
|
$quoted_string
)"
;
$word
=
"(
$atom
|
$quoted_string
)"
;
$domain
=
"
$sub_domain
(
\\
x2e
$sub_domain
)+"
;
$domain
=
"
$sub_domain
(
\\
x2e
$sub_domain
)+"
;
/*
following psudocode to allow strict checking - ask pookey about this if you're puzzled
if ($this->getValidationOption('strict_checking') == true)
$domain = "$sub_domain(\\x2e$sub_domain)*";
*/
$local_part
=
"
$word
(
\\
x2e
$word
)*"
;
$local_part
=
"
$word
(
\\
x2e
$word
)*"
;
$addr_spec
=
"
$local_part
\\
x40
$domain
"
;
$addr_spec
=
"
$local_part
\\
x40
$domain
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment