mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix: explicit scheme
This commit is contained in:
parent
1a373e1c40
commit
ae3559ca74
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ namespace Flow.Launcher.Plugin.Url
|
|||
Score = 8,
|
||||
Action = _ =>
|
||||
{
|
||||
if (!raw.ToLower().StartsWith(GetHttpPreference()))
|
||||
if (!raw.StartsWith("http://", StringComparison.OrdinalIgnoreCase) && !raw.StartsWith("https://", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
raw = GetHttpPreference() + "://" + raw;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue