diff options
author | nodiscc <nodiscc@gmail.com> | 2016-05-20 02:06:43 +0200 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2016-05-20 12:23:03 +0200 |
commit | 725ca094f8e4b7460869097b6a2a2bd6a4a420f4 (patch) | |
tree | 35f1917bc95ce02158db0bdf394852c9a9ea719b /tests/Url/UrlTest.php | |
parent | d92169c863cd32debf4d13bc217d42abd9c4db19 (diff) | |
download | Shaarli-725ca094f8e4b7460869097b6a2a2bd6a4a420f4.tar.gz Shaarli-725ca094f8e4b7460869097b6a2a2bd6a4a420f4.tar.zst Shaarli-725ca094f8e4b7460869097b6a2a2bd6a4a420f4.zip |
Url.php: remove unwanted ?PHPSESSID= URL parameters,
update test case
Diffstat (limited to 'tests/Url/UrlTest.php')
-rw-r--r-- | tests/Url/UrlTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Url/UrlTest.php b/tests/Url/UrlTest.php index ce82265e..4bf53b2d 100644 --- a/tests/Url/UrlTest.php +++ b/tests/Url/UrlTest.php | |||
@@ -85,6 +85,7 @@ class UrlTest extends PHPUnit_Framework_TestCase | |||
85 | $this->assertUrlIsCleaned('?utm_term=1n4l'); | 85 | $this->assertUrlIsCleaned('?utm_term=1n4l'); |
86 | 86 | ||
87 | $this->assertUrlIsCleaned('?xtor=some-url'); | 87 | $this->assertUrlIsCleaned('?xtor=some-url'); |
88 | $this->assertUrlIsCleaned('?PHPSESSID=012345678910111213'); | ||
88 | } | 89 | } |
89 | 90 | ||
90 | /** | 91 | /** |