lychee/lychee-bin
MichaIng b970256248
fix: skip fragment check if website URL doesn't contain fragment (#1733)
* fix: skip fragment check if website URL doesn't contain fragment

Signed-off-by: MichaIng <micha@dietpi.com>

* test: add tests for fragment checks with binary data

Signed-off-by: MichaIng <micha@dietpi.com>

* fix: skip fragment checking as well if fragment is empty

`is_some()` is true as well if the fragment is given but empty, i.e. `#`. While it is an edge case, skip the fragment checker as well in case of an empty fragment.

Signed-off-by: MichaIng <micha@dietpi.com>

* test: switch to lycheeverse/master remote URLs

Signed-off-by: MichaIng <micha@dietpi.com>

* fix: apply rustfmt annotation

Signed-off-by: MichaIng <micha@dietpi.com>

---------

Signed-off-by: MichaIng <micha@dietpi.com>
2025-06-20 17:47:35 +02:00
..
src Don't echo potentially sensitive header data (#1728) 2025-06-12 17:08:15 +02:00
tests fix: skip fragment check if website URL doesn't contain fragment (#1733) 2025-06-20 17:47:35 +02:00
Cargo.toml chore: release v0.19.1 (#1726) 2025-06-16 14:56:32 +03:00
CHANGELOG.md chore: release v0.19.1 (#1726) 2025-06-16 14:56:32 +03:00
LICENSE-APACHE Major refactor of codebase (#208) 2021-04-15 01:24:11 +02:00
LICENSE-MIT Update license files (#497) 2022-02-08 10:59:54 +01:00