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 /images/floral_right.png | |
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 'images/floral_right.png')
0 files changed, 0 insertions, 0 deletions