From 980bb171ee73a6c3c250b679123ae4d754c1e84e Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Tue, 25 Aug 2009 15:37:12 -0500 Subject: [PATCH] wininet: Allow +.- characters in url scheme. According to RFC 1738, the plus, period, and hyphen characters are allowed in URL schemes. --- dlls/wininet/internet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index e51c96480d9..1a77fd8fa3e 100644 --- a/dlls/wininet/internet.c +++ b/dlls/wininet/internet.c @@ -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;