Merge pull request #574 from shaarli/urlparams-phpsessid
Url.php: remove unwanted ?PHPSESSID= URL parameters
This commit is contained in:
commit
521f0e65cf
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 @@ class UrlTest extends PHPUnit_Framework_TestCase
|
|||
$this->assertUrlIsCleaned('?utm_term=1n4l');
|
||||
|
||||
$this->assertUrlIsCleaned('?xtor=some-url');
|
||||
$this->assertUrlIsCleaned('?PHPSESSID=012345678910111213');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue