Submit
Path:
~
/
/
opt
/
alt
/
php54
/
usr
/
share
/
pear
/
test
/
Mail
/
tests
/
File Content:
bug17317.phpt
--TEST-- Mail_RFC822::parseAddressList invalid periods in mail address --FILE-- <?php require "Mail/RFC822.php"; $result[] = Mail_RFC822::parseAddressList('.name@example.com'); $result[] = Mail_RFC822::parseAddressList('name.@example.com'); $result[] = Mail_RFC822::parseAddressList('name..name@example.com'); foreach ($result as $r) { if (is_a($r, 'PEAR_Error')) { echo "OK\n"; } } --EXPECT-- OK OK OK
Submit
FILE
FOLDER
Name
Size
Permission
Action
13659.phpt
649 bytes
0644
9137.phpt
1001 bytes
0644
9137_2.phpt
1226 bytes
0644
bug17178.phpt
228 bytes
0644
bug17317.phpt
421 bytes
0644
rfc822.phpt
2849 bytes
0644
smtp_error.phpt
755 bytes
0644
N4ST4R_ID | Naxtarrr