Skip to content

Commit bd4e5f5

Browse files
committed
small name change
1 parent cf50855 commit bd4e5f5

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

FlashpointSecurePlayer/FlashpointSecurePlayerGUI.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ private void ActivateMode(TemplateElement templateElement, ErrorDelegate errorDe
525525
Uri webBrowserURL = null;
526526

527527
try {
528-
webBrowserURL = new Uri(ValidateURL(URL), UriKind.Absolute);
528+
webBrowserURL = new Uri(GetValidatedURL(URL), UriKind.Absolute);
529529
} catch (Exception ex) {
530530
LogExceptionToLauncher(ex);
531531
errorDelegate(String.Format(Properties.Resources.AddressNotUnderstood, URL));
@@ -1346,7 +1346,7 @@ await ImportActiveX(delegate (string text) {
13461346

13471347
if (templateElement.Mode.Name == ModeElement.NAME.SOFTWARE) {
13481348
try {
1349-
Uri requestUri = await DownloadAsync(ValidateURL(URL)).ConfigureAwait(true);
1349+
Uri requestUri = await DownloadAsync(GetValidatedURL(URL)).ConfigureAwait(true);
13501350

13511351
StringBuilder htdocsFilePath = new StringBuilder(HTDOCS);
13521352

FlashpointSecurePlayer/Shared.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1985,7 +1985,7 @@ public string this[string shortPath] {
19851985
private const string URI_SCHEME_HTTPS = "https";
19861986
private const string URI_SCHEME_FTP = "ftp";
19871987

1988-
public static string ValidateURL(string url) {
1988+
public static string GetValidatedURL(string url) {
19891989
// first try a guessed scheme
19901990
// (for example, guess HTTP for www subdomain, FTP for ftp subdomain...)
19911991
StringBuilder validatedURL = new StringBuilder((int)INTERNET_MAX_URL_LENGTH);

FlashpointSecurePlayer/WebBrowserMode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ public void BrowserGo(string url) {
458458
Uri webBrowserURL;
459459

460460
try {
461-
webBrowserURL = new Uri(ValidateURL(url), UriKind.Absolute);
461+
webBrowserURL = new Uri(GetValidatedURL(url), UriKind.Absolute);
462462
} catch {
463463
AddressInvalid();
464464
return;

0 commit comments

Comments
 (0)