lychee/fixtures
Johannes Schindelin 8c6eee9b5f
Add a way to handle "pretty URLs", i.e. URIs without .html extension (#1422)
In many circumstances (GitHub Pages, Apache configured with MultiViews,
etc), web servers process URIs by appending the `.html` file extension
when no file is found at the path specified by the URI but a `.html`
file corresponding to that path _is_ found.

To allow Lychee to use the fast, offline method of checking such files
locally via the `file://` scheme, let's handle this scenario gracefully
by adding the `--fallback-extensions=html` option.

Note: This new option can take a list of file extensions to use; The
first one for which a corresponding file is found is then used.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-06-11 16:11:24 +02:00
..
bench Fix spelling and remove unneeded trailing whitespace (#1417) 2024-04-26 08:22:44 +02:00
cache Fix deserialize of lycheecache status codes (#685) 2022-07-15 22:45:24 +02:00
cache_accept_custom_status_codes Put lycheecache tests into separate subfolders to avoid race 2023-03-03 12:13:09 +01:00
configs Add integration test for accept (int and string) 2024-01-10 00:10:22 +01:00
dump_inputs feat: Add support for --dump-inputs (#1159) 2023-07-16 18:08:14 +02:00
exclude-path Add support for excluding paths from link checking (#623) 2022-05-29 17:27:09 +02:00
fallback-extensions Add a way to handle "pretty URLs", i.e. URIs without .html extension (#1422) 2024-06-11 16:11:24 +02:00
fragments Fix spelling and remove unneeded trailing whitespace (#1417) 2024-04-26 08:22:44 +02:00
ignore Add support for comments in .lycheeignore (#616) 2022-05-13 18:51:58 +02:00
offline Prevent flaky tests (#514) 2022-02-18 10:29:49 +01:00
INTERNET_ARCHIVE.md Concurrent archives (#1027) 2023-05-11 20:20:27 +02:00
TEST.html Add new SVG-based screencast (#693) 2022-08-10 17:35:50 +02:00
TEST.md Introduce fragment checking for links to markdown files. (#1126) 2023-07-31 16:04:00 +02:00
TEST_ALL_PRIVATE.md feat: Support relative URLs (#15) 2020-10-21 01:31:06 +02:00
TEST_CODE_BLOCKS.md Implement excluding code blocks (#523) 2022-03-26 10:42:56 +01:00
TEST_DATA_URIS.html Add different verbosity levels (#824) 2022-11-28 23:25:33 +01:00
TEST_DETAILED_JSON_OUTPUT_ERROR.md status.rs: Make json output more verbose (#1367) 2024-01-30 23:58:18 +01:00
TEST_DUMP_EXCLUDE.txt Also dump excluded links (#615) 2022-05-13 18:53:16 +02:00
TEST_EMAIL.md Make checking email addresses optional (#1171) 2023-07-19 19:58:38 +02:00
TEST_EMAIL_QUERY_PARAMS.html Fix parsing error of email addresses with query params (#809) 2022-11-05 23:40:33 +01:00
TEST_EMAIL_QUERY_PARAMS.md Fix parsing error of email addresses with query params (#809) 2022-11-05 23:40:33 +01:00
TEST_EXAMPLE_DOMAINS.md Exclude example TLDs from RFC 2606 (#1335) 2024-01-05 18:48:15 +01:00
TEST_EXAMPLE_DOMAINS_FALSE_POSITIVES.md Exclude example TLDs from RFC 2606 (#1335) 2024-01-05 18:48:15 +01:00
TEST_GITHUB.md Make GITHUB_TOKEN optional (#22) 2020-10-26 23:31:31 +01:00
TEST_GITHUB_404.md Make GITHUB_TOKEN optional (#22) 2020-10-26 23:31:31 +01:00
TEST_HTML5.html Prevent flaky tests (#514) 2022-02-18 10:29:49 +01:00
TEST_HTML5_CUSTOM_ELEMENTS.html Prevent flaky tests (#514) 2022-02-18 10:29:49 +01:00
TEST_HTML5_LOWERCASE_DOCTYPE.html Prevent flaky tests (#514) 2022-02-18 10:29:49 +01:00
TEST_HTML5_MALFORMED_LINKS.html Prevent flaky tests (#514) 2022-02-18 10:29:49 +01:00
TEST_HTML5_MINIFIED.html Prevent flaky tests (#514) 2022-02-18 10:29:49 +01:00
TEST_HTTP.html Prevent flaky tests (#514) 2022-02-18 10:29:49 +01:00
TEST_REPETITION_1.txt Prevent flaky tests (#514) 2022-02-18 10:29:49 +01:00
TEST_REPETITION_2.txt Prevent flaky tests (#514) 2022-02-18 10:29:49 +01:00
TEST_SCHEMES.md Prevent flaky tests (#514) 2022-02-18 10:29:49 +01:00
TEST_SCHEMES.txt Prevent flaky tests (#514) 2022-02-18 10:29:49 +01:00
TEST_VERBATIM.html Fix nested URL extraction in verbatim elements (#988) 2023-03-11 15:18:25 +01:00