Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Check HTTPS before HTTP
Browse files Browse the repository at this point in the history
  • Loading branch information
da2x committed Jun 2, 2021
1 parent fd2b4f3 commit 6d2e661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EdgeDeflector/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static bool IsUri(string uristring)
static bool IsHttpUri(string uri)
{
uri = uri.ToUpperInvariant();
return uri.StartsWith("HTTP://", StringComparison.OrdinalIgnoreCase) || uri.StartsWith("HTTPS://", StringComparison.OrdinalIgnoreCase);
return uri.StartsWith("HTTPS://", StringComparison.OrdinalIgnoreCase) || uri.StartsWith("HTTP://", StringComparison.OrdinalIgnoreCase);
}

static bool IsMsEdgeUri(string uri)
Expand Down

0 comments on commit 6d2e661

Please sign in to comment.