|
|
@@ -227,6 +227,7 @@ class Zend_Uri_HttpTest extends PHPUnit_Framework_TestCase
|
|
|
$unwise = array(
|
|
|
'http://example.com/?q={',
|
|
|
'http://example.com/?q=}',
|
|
|
+ 'http://example.com/?q=|',
|
|
|
'http://example.com/?q=\\',
|
|
|
'http://example.com/?q=^',
|
|
|
'http://example.com/?q=`',
|
|
|
@@ -247,6 +248,7 @@ class Zend_Uri_HttpTest extends PHPUnit_Framework_TestCase
|
|
|
$unwise = array(
|
|
|
'http://example.com/?q={',
|
|
|
'http://example.com/?q=}',
|
|
|
+ 'http://example.com/?q=|',
|
|
|
'http://example.com/?q=\\',
|
|
|
'http://example.com/?q=^',
|
|
|
'http://example.com/?q=`',
|
|
|
@@ -430,16 +432,6 @@ class Zend_Uri_HttpTest extends PHPUnit_Framework_TestCase
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @group ZF-11060
|
|
|
- */
|
|
|
- public function testAcceptsPipeCharacterAsPartOfUri()
|
|
|
- {
|
|
|
- $uri = Zend_Uri_Http::fromString('http://www.example.com/map?apistyle=a|b|c');
|
|
|
- $this->assertType('Zend_Uri_Http', $uri);
|
|
|
- $this->assertEquals('apistyle=a|b|c', $uri->getQuery());
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
* @group ZF-11188
|
|
|
* @see http://www.ietf.org/rfc/rfc2732.txt
|
|
|
*/
|