-
-
Notifications
You must be signed in to change notification settings - Fork 194
add --index-files flag, and turn off index file checking by default
#1777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
thomas-zahner
merged 26 commits into
lycheeverse:master
from
rina-forks:katrinafyi-patch-1
Aug 14, 2025
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
4a3a2a1
add index_files option
katrinafyi a1fa4b4
fix compilation
katrinafyi e8d07c3
phrasing
katrinafyi 5296d23
fjdisaofjdisoajfidosa
katrinafyi 73a6a4d
early switch between fallback extensions and index files
katrinafyi 23b8092
docs and it compiles now
katrinafyi c3fab82
COW
katrinafyi 51afc96
update readme text
katrinafyi 2fc3f29
Merge remote-tracking branch 'origin/master' into katrinafyi-patch-1
katrinafyi a59ea60
increment errors due to not searching index.html by default
katrinafyi 5173748
tests and fixtures
katrinafyi 118a6f0
fmt and fix test
katrinafyi c2504dc
lint
katrinafyi 67322d7
add more corner cases to tests
katrinafyi b55f493
separate test cases for corner cases
katrinafyi b217503
fix index_files default in ClientBuilder (oops!)
katrinafyi bb55866
Merge remote-tracking branch 'origin/master' into katrinafyi-patch-1
katrinafyi 4362cdf
tests: now expected to fail `#a-link-inside-index-html-inside-sub-dir`
katrinafyi 8d25acd
revert README.md change where we hardcoded the version
katrinafyi f6b678e
review: make `index_files` an Option for clearer default behavior
katrinafyi 1d76955
docs: add `--index-files ''` and `--index-files index.html,.`
katrinafyi ed499f7
tests: add cli tests for `--index-files`
katrinafyi a4f7497
review: confirm path traversal is allowed in `--index-files`
katrinafyi 0fd19b7
review: typo
katrinafyi 3490256
fix tests bug, where an assertion was weaker than desired
katrinafyi 82b537b
Merge branch 'master' into katrinafyi-patch-1
katrinafyi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| [a](empty_dir) | ||
| [a](empty_dir#fragment) | ||
|
|
||
| [a](index_dir) | ||
| [a](index_dir#fragment) |
Empty file.
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| <p id="fragment">boop</p> |
Empty file.
Empty file.
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.