[PATCH] urlmon: Handle failure using HTTP Basic authentication scheme by asking user/password.

Dmitry Timoshkov dmitry at baikal.ru
Wed Jun 16 10:53:35 CDT 2021


Hi Jacek,

Jacek Caban <jacek at codeweavers.com> wrote:

> My understanding is that we should ask for IAuthenticate interface on 
> BSC and let it handle the authentication. GUI asking for credentials is 
> likely something that urlmon needs to do in response to some return 
> values from Authenticate, but I don't know that without testing it 
> myself. Then there is a question if MSHTML should implement 
> IAuthenticate, but it may not matter in your case (depending on the 
> answer to above).
> 
> 
> If you didn't already, I would suggest to write a test and experiment. I 
> know that tests involving GUI may not be something for the tree (well, 
> unless in interactive mode), but maybe with testing IAuthenticate it 
> would be possible to test the rest of the stack.

My current WIP patch with both interactive and non-interactive tests
is attached, non-interactive tests pass, interactive ones - not yet.
I'd appreciate any comments and suggestions.

-- 
Dmitry.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wip_IAuthenticate_full.diff
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210616/f8651a25/attachment-0001.ksh>


More information about the wine-devel mailing list