Url.php: remove unwanted ?PHPSESSID= URL parameters,
update test case
This commit is contained in:
parent
d92169c863
commit
725ca094f8
2 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,7 @@ class Url
|
|||
'action_type_map=',
|
||||
'fb_',
|
||||
'fb=',
|
||||
'PHPSESSID=',
|
||||
|
||||
// Scoop.it
|
||||
'__scoop',
|
||||
|
|
|
@ -85,6 +85,7 @@ public function testCleanupSingleQueryParam()
|
|||
$this->assertUrlIsCleaned('?utm_term=1n4l');
|
||||
|
||||
$this->assertUrlIsCleaned('?xtor=some-url');
|
||||
$this->assertUrlIsCleaned('?PHPSESSID=012345678910111213');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue