Merge pull request #522 from ArthurHoaro/hotfix/readershaare
Refactor and rebase #380: Firefox reader view links
This commit is contained in:
commit
11609d9fd8
2 changed files with 38 additions and 1 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