Skip to content
Draft
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e4239a7
ihii
katrinafyi Aug 31, 2025
3ed59a0
as foreseen, we have big problems with absolute-rooted file urls
katrinafyi Aug 31, 2025
84974ce
blah
katrinafyi Aug 31, 2025
2c10447
secret-lychee-local-base-url
katrinafyi Aug 31, 2025
542d9cd
lazy init
katrinafyi Aug 31, 2025
af11fc6
absolute
katrinafyi Aug 31, 2025
4fd7999
blah
katrinafyi Sep 1, 2025
c288197
blahblahblah. transpose + back-substitution
katrinafyi Sep 1, 2025
5cd3750
fix '..' being remapped too eagerly
katrinafyi Sep 1, 2025
9f1c1e4
stash
katrinafyi Sep 1, 2025
aee0ed1
refactor the thingy into separate mods
katrinafyi Sep 1, 2025
eebc3d4
use base::local for from_directory_path
katrinafyi Sep 1, 2025
e55766f
touching
katrinafyi Sep 1, 2025
1c7af89
TODO: hoist all this source-dependent computation
katrinafyi Sep 1, 2025
1bbc28d
sourcebaseinfo
katrinafyi Sep 6, 2025
439d7f9
clippy fix
katrinafyi Sep 6, 2025
49f84ba
rename
katrinafyi Sep 6, 2025
6c31811
refactor to move more things into SourceBaseInfo. TODO: fix+new tests
katrinafyi Sep 7, 2025
a1249ae
touch
katrinafyi Sep 7, 2025
24e5eb7
fix existing tests
katrinafyi Sep 7, 2025
7ac50fc
no print
katrinafyi Sep 7, 2025
9d1cd42
tweak some tests
katrinafyi Sep 7, 2025
718f462
blah. honestly idk what was happening with these tests in the past...
katrinafyi Sep 7, 2025
db70242
lychee-lib tests PASS
katrinafyi Sep 7, 2025
9c64368
strip_prefix tests and fix
katrinafyi Sep 7, 2025
b1bc0a3
Update ci.yml
katrinafyi Sep 7, 2025
0eb1b51
Update ci.yml
katrinafyi Sep 7, 2025
23d2af7
update help text
katrinafyi Sep 7, 2025
8051840
wire up fallback base url. TODO: TESTS for fallback base url
katrinafyi Sep 7, 2025
2b6650c
fix tests after fallback_base
katrinafyi Sep 7, 2025
d9b1199
remove backwards compat base-url handling
katrinafyi Sep 7, 2025
add09c7
fix collect tests
katrinafyi Sep 7, 2025
ff72bd6
fix fallback_base tests
katrinafyi Sep 7, 2025
126a9b2
fix fallback bug where fallback was applied on top of well-founded
katrinafyi Sep 7, 2025
9888134
propagate root_and_base
katrinafyi Sep 7, 2025
9df0cc3
fmt
katrinafyi Sep 7, 2025
4fb0e08
Display Base
katrinafyi Sep 7, 2025
910fdc8
doc comments ig
katrinafyi Sep 8, 2025
80fc8c7
root_and_base up to main
katrinafyi Sep 7, 2025
235f6d9
Merge remote-tracking branch 'upstream/master' into easy-mode
katrinafyi Oct 4, 2025
d2ceb22
fix main compilation
katrinafyi Oct 4, 2025
d2d3591
fix test compilation too
katrinafyi Oct 4, 2025
15fc377
Merge remote-tracking branch 'upstream/master' into easy-mode
katrinafyi Nov 13, 2025
92103c4
Merge remote-tracking branch 'origin/master' into easy-mode
katrinafyi Nov 18, 2025
0fea5eb
fix compilation
katrinafyi Nov 18, 2025
9f79231
fix tests
katrinafyi Nov 18, 2025
5aac1f1
typo
katrinafyi Nov 18, 2025
2c0798f
Merge remote-tracking branch 'upstream/master' into easy-mode
katrinafyi Dec 10, 2025
aa7c3ba
restore root-dir existence check, but ONLY for relative dirs ;-;
katrinafyi Dec 10, 2025
d84ac6d
always check root-dir
katrinafyi Dec 10, 2025
70fbe33
todo
katrinafyi Dec 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
absolute
  • Loading branch information
katrinafyi committed Aug 31, 2025
commit af11fc693c01927e57630590fa12a4ece475a7e7
2 changes: 1 addition & 1 deletion lychee-lib/src/utils/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ fn try_parse_into_uri(
// println!("{:?}", remote_base.join("/rooted file "));
let source_base = match source {
InputSource::RemoteUrl(url) => Some(Cow::Borrowed(url.deref())),
InputSource::FsPath(path) => match path.canonicalize() {
InputSource::FsPath(path) => match std::path::absolute(path) {
Ok(path) => path
.strip_prefix(&*root_dir)
.ok()
Expand Down