#111 SimpleUrl doesn't appear to handle path after filename

closed-fixed
Web tester (52)
5
2007-12-22
2007-03-26
No

The following test appears to fail:

public function testDirectoriesAfterFilename()
{
$inst = new SimpleUrl($expected = '../../index.php/foo/bar');
$this->assertEqual($inst->asString(), $expected);
$this->assertEqual(
$inst->makeAbsolute('http://www.domain.com/some/path')->asString(),
'http://www.domain.com/index.php/foo/bar'
);
}

This can lead to situations where you can assert the existance of a link but are unable to click() it.

Discussion

  • Perrick Penet

    Perrick Penet - 2007-12-22

    Logged In: YES
    user_id=292377
    Originator: NO

    Thanks for the report. A new test case was added and the bug is now closed in the SVN trunk.

    Yours,
    Perrick

     
  • Perrick Penet

    Perrick Penet - 2007-12-22
    • assigned_to: lastcraft --> pp11
    • status: open --> closed-fixed
     

Log in to post a comment.