Commit 057c9832 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

rpcrt4: Don't try to decode the authorization value in the first leg.

parent 6f2c4bac
......@@ -2653,7 +2653,7 @@ static RPC_STATUS do_authorization(HINTERNET request, SEC_WCHAR *servername,
in_desc.pBuffers = ∈
p = auth_value + scheme_len;
if (*p == ' ')
if (!first && *p == ' ')
{
int len = strlenW(++p);
in.cbBuffer = decode_base64(p, len, NULL);
......
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