aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Url/UrlTest.php
Commit message (Collapse)AuthorAgeFilesLines
* lint: apply phpcbf to tests/VirtualTam2018-12-021-3/+3
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Cleanup: explicit method visibilityVirtualTam2017-01-051-4/+4
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Fix typo in test method namejulienCXX2016-07-211-2/+2
|
* Url.php: remove unwanted ?PHPSESSID= URL parameters,nodiscc2016-05-201-0/+1
| | | | update test case
* typoArthurHoaro2016-05-051-2/+2
|
* Fixes #531 - Title retrieving is failing with multiple use caseArthurHoaro2016-05-031-0/+15
| | | | see https://github.com/shaarli/Shaarli/issues/531 for details
* 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