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 @@ public function testCleanupSingleQueryParam()
$this->assertUrlIsCleaned('?utm_term=1n4l');
$this->assertUrlIsCleaned('?xtor=some-url');
$this->assertUrlIsCleaned('?PHPSESSID=012345678910111213');
}
/**