!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/it-man.ztu.edu.ua/src/vendor/swiftmailer/swiftmailer/tests/bug/Swift/   drwxr-xr-x
Free 116.64 GB of 200.55 GB (58.16%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Bug650Test.php (1.35 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

class Swift_Bug650Test extends \PHPUnit_Framework_TestCase
{
    
/**
     * @dataProvider encodingDataProvider
     *
     * @param string $name
     * @param string $expectedEncodedName
     */
    
public function testMailboxHeaderEncoding($name$expectedEncodedName)
    {
        
$factory = new Swift_CharacterReaderFactory_SimpleCharacterReaderFactory();
        
$charStream = new Swift_CharacterStream_NgCharacterStream($factory'utf-8');
        
$encoder = new Swift_Mime_HeaderEncoder_QpHeaderEncoder($charStream);
        
$header = new Swift_Mime_Headers_MailboxHeader('To'$encoder, new Swift_Mime_Grammar());
        
$header->setCharset('utf-8');

        
$header->setNameAddresses(array(
            
'test@example.com' => $name,
        ));

        
$this->assertSame('To: '.$expectedEncodedName." <test@example.com>\r\n"$header->toString());
    }

    public function 
encodingDataProvider()
    {
        return array(
            array(
'this is " a test ö''this is =?utf-8?Q?=22?= a test =?utf-8?Q?=C3=B6?='),
            array(
': this is a test ö''=?utf-8?Q?=3A?= this is a test =?utf-8?Q?=C3=B6?='),
            array(
'( test ö''=?utf-8?Q?=28?= test =?utf-8?Q?=C3=B6?='),
            array(
'[ test ö''=?utf-8?Q?=5B?= test =?utf-8?Q?=C3=B6?='),
            array(
'@ test ö)''=?utf-8?Q?=40?= test =?utf-8?Q?=C3=B6=29?='),
        );
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0117 ]--