ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,419 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm trying to add a link in our MVC web site to an external website and I want to open it in a new tab.
Unfortunately, when I add target="_blank" to my link, it stops working.
Without it, it correctly opens in the same tab.
In a new created MVC app, no problem either.
Please, anyone has an idea what could be blocking this ?
thanks in advance.
Ok, the console message was not perfectly clear but I found it.
We have CSP rules, and I had to add 'allow-popups' to allow blank target...
Only a day and a half to find it...