Skip to content

Commit c34381c

Browse files
committed
comments
1 parent b96c994 commit c34381c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

FlashpointSecurePlayer/Shared.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2015,12 +2015,12 @@ public static string GetValidatedURL(string url) {
20152015

20162016
err = UrlApplyScheme(url, validatedURL, ref validatedURLCapacity, URL_APPLYFlags.URL_APPLY_DEFAULT);
20172017

2018-
// workaround: we always want to use HTTP, regardless of the default
2019-
// (in case the default is HTTPS)
20202018
if (err == S_FALSE) {
20212019
return url;
20222020
}
20232021

2022+
// workaround: we always want to use HTTP, regardless of the default
2023+
// (in case the default is HTTPS)
20242024
// skip leading slashes for protocol-less URLs
20252025
const string LEADING_SLASHES = "//";
20262026

0 commit comments

Comments
 (0)