Refactor and rebase #380: Firefox reader view links
Fixes #366 Closes #380
This commit is contained in:
parent
ecd051905f
commit
c9da01e749
2 changed files with 36 additions and 13 deletions
tests/Url
|
@ -128,6 +128,13 @@ class UrlTest extends PHPUnit_Framework_TestCase
|
|||
self::$baseUrl.'?my=stuff&is=kept#again',
|
||||
$url->cleanup()
|
||||
);
|
||||
|
||||
// test firefox reader url
|
||||
$url = new Url(
|
||||
'about://reader?url=' . urlencode(self::$baseUrl .'?my=stuff&is=kept')
|
||||
);
|
||||
$this->assertEquals(self::$baseUrl.'?my=stuff&is=kept', $url->cleanup());
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue