diff options
author | VirtualTam <virtualtam@flibidi.net> | 2015-08-14 01:14:07 +0200 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2015-08-15 15:58:38 +0200 |
commit | d9d776af19fd0a191f82525991dafbb56e1bcfcb (patch) | |
tree | 96f5271dfc13048c43e81079b6d8a10d876b8b79 /.gitignore | |
parent | a3b1b4ae709bd3c5a8ec6fe29aa36fd01c52bca5 (diff) | |
download | Shaarli-d9d776af19fd0a191f82525991dafbb56e1bcfcb.tar.gz Shaarli-d9d776af19fd0a191f82525991dafbb56e1bcfcb.tar.zst Shaarli-d9d776af19fd0a191f82525991dafbb56e1bcfcb.zip |
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>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -19,4 +19,5 @@ composer.lock | |||
19 | # Ignore test data & output | 19 | # Ignore test data & output |
20 | coverage | 20 | coverage |
21 | tests/datastore.php | 21 | tests/datastore.php |
22 | tests/dummycache/ | ||
22 | phpmd.html | 23 | phpmd.html |