Url.php: remove unwanted ?PHPSESSID= URL parameters,

update test case
This commit is contained in:
nodiscc 2016-05-20 02:06:43 +02:00
parent d92169c863
commit 725ca094f8
2 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,7 @@ class Url
'action_type_map=',
'fb_',
'fb=',
'PHPSESSID=',
// Scoop.it
'__scoop',

View File

@ -85,6 +85,7 @@ class UrlTest extends PHPUnit_Framework_TestCase
$this->assertUrlIsCleaned('?utm_term=1n4l');
$this->assertUrlIsCleaned('?xtor=some-url');
$this->assertUrlIsCleaned('?PHPSESSID=012345678910111213');
}
/**