⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.31
Server IP:
95.217.99.93
Server:
Linux sv1.sonichosted.com 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
opt
/
alt
/
php54
/
usr
/
share
/
pear
/
test
/
Mail
/
tests
/
Edit File: 9137_2.phpt
--TEST-- Mail: Test for bug #9137, take 2 --FILE-- '"John Doe"
'), array('raw' => '"John Doe' . chr(92) . '"
'), array('raw' => '"John Doe' . chr(92) . chr(92) . '"
'), array('raw' => '"John Doe' . chr(92) . chr(92) . chr(92) . '"
'), array('raw' => '"John Doe' . chr(92) . chr(92) . chr(92) . chr(92) . '"
'), array('raw' => '"John Doe
'), ); for ($i = 0; $i < count($addresses); $i++) { // construct the address $address = $addresses[$i]['raw']; $parsedAddresses = Mail_RFC822::parseAddressList($address); if (PEAR::isError($parsedAddresses)) { echo $address." :: Failed to validate\n"; } else { echo $address." :: Parsed\n"; } } --EXPECT-- "John Doe"
:: Parsed "John Doe\"
:: Failed to validate "John Doe\\"
:: Parsed "John Doe\\\"
:: Failed to validate "John Doe\\\\"
:: Parsed "John Doe
:: Failed to validate
Simpan