wininet: Allow +.- characters in url scheme.
According to RFC 1738, the plus, period, and hyphen characters are allowed in URL schemes.
This commit is contained in:
parent
80c870251f
commit
980bb171ee
dlls/wininet
|
@ -1402,7 +1402,7 @@ BOOL WINAPI InternetCrackUrlW(LPCWSTR lpszUrl_orig, DWORD dwUrlLength_orig, DWOR
|
|||
/* Determine if the URI is absolute. */
|
||||
while (lpszap - lpszUrl < dwUrlLength)
|
||||
{
|
||||
if (isalnumW(*lpszap))
|
||||
if (isalnumW(*lpszap) || *lpszap == '+' || *lpszap == '.' || *lpszap == '-')
|
||||
{
|
||||
lpszap++;
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue