Skip to content

Commit 0af35f3

Browse files
committed
fix: remove double slash when discovering metadata
1 parent 64af442 commit 0af35f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csaf/csaf-cli/src/cmd/metadata.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ impl Metadata {
4747
Self::show_approach(
4848
"/.well-known/security.txt",
4949
&metadata
50-
.approach_security_txt(&fetcher, "/.well-known/security.txt")
50+
.approach_security_txt(&fetcher, ".well-known/security.txt")
5151
.await,
5252
)?;
5353
Self::show_approach(
5454
"/security.txt",
5555
&metadata
56-
.approach_security_txt(&fetcher, "/security.txt")
56+
.approach_security_txt(&fetcher, "security.txt")
5757
.await,
5858
)?;
5959
Self::show_approach("DNS", &metadata.approach_dns(&fetcher).await)?;

0 commit comments

Comments
 (0)