Merge pull request #574 from shaarli/urlparams-phpsessid

Url.php: remove unwanted ?PHPSESSID= URL parameters
This commit is contained in:
VirtualTam 2016-05-20 13:06:45 +02:00
commit 521f0e65cf
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');
}
/**