Skip to content

Commit d8ab141

Browse files
Potential fix for code scanning alert no. 12: Failure to use HTTPS URLs
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 7c58cb6 commit d8ab141

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/feedparser-rs-core/tests/http_integration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ mod http_tests {
700700
#[test]
701701
fn test_invalid_etag_returns_error() {
702702
let result = test_get(
703-
"http://example.com/feed.xml",
703+
"https://example.com/feed.xml",
704704
Some("\n\r"),
705705
None,
706706
None,
@@ -719,7 +719,7 @@ mod http_tests {
719719
#[test]
720720
fn test_invalid_last_modified_returns_error() {
721721
let result = test_get(
722-
"http://example.com/feed.xml",
722+
"https://example.com/feed.xml",
723723
None,
724724
Some("\n\r"),
725725
None,

0 commit comments

Comments
 (0)