aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Url/UrlTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Refactor and rebase #380: Firefox reader view linksArthurHoaro2016-03-261-0/+7
| | | | | Fixes #366 Closes #380
* Fixes #410 - Retrieve title fails in multiple casesArthurHoaro2016-01-111-0/+18
| | | | | | | | | * `get_http_url()` renamed to `get_http_response()`. * Use the same HTTP context to retrieve response headers and content. * Follow HTTP 301 and 302 redirections to retrieve the title (default max 3 redirections). * Add `LinkUtils` to extract titles and charset. * Try to retrieve charset from HTTP headers first (new), then HTML content. * Use mb_string to re-encode title if necessary.
* Wallabag plugin improvementArthurHoaro2015-12-271-0/+11
| | | | | | | | * Fixes a bug where URL weren't properly encoded. * Adds Wallabag V2 support. * Adds a URL function to handle trailing slash. * UT. * README updated.
* cleanup: remove the executable bit from source scriptsVirtualTam2015-11-111-0/+0
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Url: introduce global helper functions for cleanup and scheme detectionGuillaume Virlet2015-09-081-0/+148
Relates to #314 & #326 Additions: - add global `cleanup_url()` and `get_url_scheme()` functions Modifications: - replace `Url` usage in `index.php` by calls to global functions - fix `Url` tests not being run: PHPUnit expects a single test class per file - move classes to separate files