Skip to content

Commit

Permalink
Fix Security http to https
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsoft committed Mar 12, 2024
1 parent 6e947e9 commit ae9a7ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions QRCoder.Core.Tests/PayloadGeneratorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ public void geolocation_should_build_type_GoogleMaps()

var generator = new PayloadGenerator.Geolocation(latitude, longitude, encoding);

generator.ToString().ShouldBe("http://maps.google.com/maps?q=51.227741,6.773456");
generator.ToString().ShouldBe("https://maps.google.com/maps?q=51.227741,6.773456");
}

[Fact]
Expand Down Expand Up @@ -710,7 +710,7 @@ public void url_should_add_http()

var generator = new PayloadGenerator.Url(url);

generator.ToString().ShouldBe("http://code-bude.net");
generator.ToString().ShouldBe("https://code-bude.net");
}

[Fact]
Expand Down

0 comments on commit ae9a7ca

Please sign in to comment.