Commit 980bb171 authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

wininet: Allow +.- characters in url scheme.

According to RFC 1738, the plus, period, and hyphen characters are allowed in URL schemes.
parent 80c87025
...@@ -1402,7 +1402,7 @@ BOOL WINAPI InternetCrackUrlW(LPCWSTR lpszUrl_orig, DWORD dwUrlLength_orig, DWOR ...@@ -1402,7 +1402,7 @@ BOOL WINAPI InternetCrackUrlW(LPCWSTR lpszUrl_orig, DWORD dwUrlLength_orig, DWOR
/* Determine if the URI is absolute. */ /* Determine if the URI is absolute. */
while (lpszap - lpszUrl < dwUrlLength) while (lpszap - lpszUrl < dwUrlLength)
{ {
if (isalnumW(*lpszap)) if (isalnumW(*lpszap) || *lpszap == '+' || *lpszap == '.' || *lpszap == '-')
{ {
lpszap++; lpszap++;
continue; continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment