mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-18 00:54:19 +00:00
Fix identifying the scheme portion of a URL
This commit is contained in:
parent
72083c1bcf
commit
042bd2be13
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue