Neos\Flow\Tests\Unit\Http\CookieTest::createCookieFromRawRemovesLeadingDotForDomainIfPresent PHP 메소드

createCookieFromRawRemovesLeadingDotForDomainIfPresent() 공개 메소드

    public function createCookieFromRawRemovesLeadingDotForDomainIfPresent()
    {
        $cookie = Cookie::createFromRawSetCookieHeader('ckName=someValue; Domain=.example.org');
        $this->assertEquals('example.org', $cookie->getDomain());
    }