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:
Vincent Povirk 2009-08-25 15:37:12 -05:00 committed by Alexandre Julliard
parent 80c870251f
commit 980bb171ee

View file

@ -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;