Browse Source

Fix identifying the scheme portion of a URL

tags/2021-05-28
hogliux 9 years ago
parent
commit
042bd2be13
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_core/network/juce_URL.cpp

+ 1
- 1
modules/juce_core/network/juce_URL.cpp View File

@@ -136,7 +136,7 @@ namespace URLHelpers
|| url[i] == '+' || url[i] == '-' || url[i] == '.')
++i;
return url[i] == ':' ? i + 1 : 0;
return url.substring (i) == "://" ? i + 1 : 0;
}
static int findStartOfNetLocation (const String& url)


Loading…
Cancel
Save