Bug introduced in V11 and fixed in 11.3
[CASE:3855554] was created
[...] It does appear that the URLRead is not behaving correctly. I have forwarded an incident report to our developers with the information you provided. [...]
This issue is similar to one from a recent report:
but I decided to post a separate question because I have a fix for this one and not for the linked one.
So, let's call where we should not:
URLRead["https://httpbin.org/status/401", Interactive -> False]
Interactive -> Falseoption prevents a native authentication dialog from poping up. More in: How to omit the authentification dialog during URLRead?
run the code from above again
The dialog pops up anyway.
Have I missed something? Is this a bug?