Bug Fixes
-
reject empty paths where needed, add
Url::from_parts_as_alternative_form()
.
The new constructor allows to create URLs that represent paths which otherwise couldn't
be valid URLs. -
make sure that
file:..
isn't considered a valid file url. -
handle
file:///C:/foo/bar
urls correctly on windows, as paths now areC:\\foo\bar
.
These paths are created when using theurl::Url::from_file_path()
family of methods, which adds an extra slash at the beginning of a
windows path which makes it invalid there unless there is further
processing.This is now applied by using
url
features, making this case work
specifically. Note that all other attributes are still the same
andgit-url
generally tries to keep paths in tact to be a hybrid
of type that can handle any file system paths as well as actual urls.
Commit Statistics
- 14 commits contributed to the release over the course of 27 calendar days.
- 27 days passed between releases.
- 3 commits were understood as conventional.
- 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
- Uncategorized
- prepare chnagelogs prior to git-repository release (7114bbb)
- Merge branch 'adjustments-for-cargo' (70ccbb2)
- Merge branch 'main' into adjustments-for-cargo (bb60d3d)
- reject empty paths where needed, add
Url::from_parts_as_alternative_form()
. (302a2d8) - make sure that
file:..
isn't considered a valid file url. (3e3aff9) - Merge branch 'paulyoung/scheme-ext' (3e27550)
- realign test expectations (93e6d71)
- improve documentation (db7577f)
- cargo fmt (3b61a47)
- Allow parsing arbitrary URL schemes (4753e64)
- handle
file:///C:/foo/bar
urls correctly on windows, as paths now areC:\\foo\bar
. (d6f90be) - Merge branch 'main' into http-config (6b9632e)
- Release git-features v0.24.1, git-actor v0.14.1, git-index v0.9.1 (7893502)
- Merge branch 'main' into http-config (bcd9654)