Merge pull request from ArthurHoaro/hotfix/readershaare

Refactor and rebase : Firefox reader view links
This commit is contained in:
VirtualTam 2016-03-30 19:31:19 +02:00
commit 11609d9fd8
2 changed files with 38 additions and 1 deletions
tests/Url

View file

@ -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());
}
/**