Menu

#1308 Digest Authentication on IIS

closed-fixed
1
2013-12-04
2013-12-02
No

Authentication on IIS with CURLAUTH_DIGEST_IE flag does not work properly.
libcurl set not "cutted" uri parameter in header "Authorization".
So, I fix this bug in Curl_output_digest (see attachment at line 444)
P.S. this solution tested on IIS 6.0

1 Attachments

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2013-12-02
    • assigned_to: Daniel Stenberg
     
  • Daniel Stenberg

    Daniel Stenberg - 2013-12-02

    Thanks for your report. Two things:

    1. Please send patches only, not full files: http://curl.haxx.se/dev/contribute.html#How_To_Make_a_Patch_with_git

    2. "uripath" leaks memory after your patch, it makes aprintf() but never frees that memory

     
  • Sergey Tatarincev

    Oops... sorry, you are right..
    how about this patch?
    (after patch, tested on Microsoft-IIS/6.0 and Apache/2.2.22)
    P.S. library version 7.33.0

     
  • Daniel Stenberg

    Daniel Stenberg - 2013-12-04
    • status: open --> closed-fixed
     
  • Daniel Stenberg

    Daniel Stenberg - 2013-12-04

    Thanks a lot for that, pushed to git now as commit ef118c13ba11a1