diff --git a/lib/Cake/Test/Case/Network/CakeRequestTest.php b/lib/Cake/Test/Case/Network/CakeRequestTest.php index 8d7bcba4f..a9a0e7e37 100644 --- a/lib/Cake/Test/Case/Network/CakeRequestTest.php +++ b/lib/Cake/Test/Case/Network/CakeRequestTest.php @@ -140,6 +140,10 @@ class CakeRequestTest extends CakeTestCase { $_SERVER['REQUEST_URI'] = '/some/path?url=http://cakephp.org'; $request = new CakeRequest(); $this->assertEquals('some/path', $request->url); + + $_SERVER['REQUEST_URI'] = FULL_BASE_URL.'/other/path?url=http://cakephp.org'; + $request = new CakeRequest(); + $this->assertEquals('other/path', $request->url); } /**