MyShaarli/tests
VirtualTam d9d776af19 Links: refactor & improve URL cleanup
Relates to #141
Relates to #133

Modifications
 - move URL cleanup to `application/Url.php`
 - rework the cleanup function
   - fragments: `#stuff`
   - GET parameters: `?var1=val1&var2=val2`
 - add documentation (APIs the params belong to)
 - add test coverage

Reference
 - http://php.net/parse_url
 - http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.tostring

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
2015-08-15 15:58:38 +02:00
..
utils CachedPage: move to a proper file, add tests 2015-08-13 23:48:06 +02:00
.htaccess LinkDB: move to a proper file, add test coverage 2015-06-11 00:45:45 +02:00
CachedPageTest.php CachedPage: move to a proper file, add tests 2015-08-13 23:48:06 +02:00
CacheTest.php Cache: simplify cached content cleanup, improve tests 2015-08-13 23:51:31 +02:00
ConfigTest.php PHP: ensure 5.3 compatibility, refactor timezone utilities 2015-07-13 13:06:06 +02:00
LinkDBTest.php CachedPage: move to a proper file, add tests 2015-08-13 23:48:06 +02:00
TimeZoneTest.php Installation: default to the server's timezone 2015-08-04 23:54:03 +02:00
UrlTest.php Links: refactor & improve URL cleanup 2015-08-15 15:58:38 +02:00
UtilsTest.php PHP: ensure 5.3 compatibility, refactor timezone utilities 2015-07-13 13:06:06 +02:00