lychee/lychee-lib/src
Matthias Endler 3094bbca33
Add support for relative links (#1489)
This commit introduces several improvements to the file checking process and URI handling:

- Extract file checking logic into separate `Checker` structs (`FileChecker`, `WebsiteChecker`, `MailChecker`)
- Improve handling of relative and absolute file paths
- Enhance URI parsing and creation from file paths
- Refactor `create_request` function for better clarity and error handling

These changes provide better support for resolving relative links, handling different base URLs, and working with file paths.

Fixes https://github.com/lycheeverse/lychee/issues/1296 and https://github.com/lycheeverse/lychee/issues/1480
2024-10-26 04:07:37 +02:00
..
basic_auth feat: add support for basic auth per URI (#1110) 2023-06-26 12:06:24 +02:00
chain Extend compact format (#1497) 2024-09-09 18:33:18 +02:00
checker Add support for relative links (#1489) 2024-10-26 04:07:37 +02:00
extract Don't check prefix attribute (#1536) 2024-10-20 22:56:46 +02:00
filter Exclude tel scheme from being checked (#1429) 2024-05-19 20:31:38 +02:00
quirks Rename chain to handle 2024-04-22 14:07:17 +02:00
types Add support for relative links (#1489) 2024-10-26 04:07:37 +02:00
utils Add support for relative links (#1489) 2024-10-26 04:07:37 +02:00
client.rs Add support for relative links (#1489) 2024-10-26 04:07:37 +02:00
collector.rs Add support for relative links (#1489) 2024-10-26 04:07:37 +02:00
lib.rs Allow excluding cache based on status code (#1403) 2024-10-14 02:41:56 +02:00
remap.rs Extend compact format (#1497) 2024-09-09 18:33:18 +02:00
retry.rs Fix spelling; Github -> GitHub (#1416) 2024-04-25 22:44:24 +02:00
test_utils.rs Add support for relative links (#1489) 2024-10-26 04:07:37 +02:00