I am using an URL in src of img tag of HTML to display the image, it works fine in Chrome but in Internet explorer it is a broken link.
This is how the URL looks like, https://AAA.visualstudio.com/_apis/wit/attachments/72651f99-6fb6-4297-94a5-dfff1c5e94b9?fileName=vsts.png
I am guessing, the filename at the end is causing this issue, if its the case what is the solution for this.
Sample code:
<!DOCTYPE html>
<html>
<body>
<img src="https://AAA.visualstudio.com/_apis/wit/attachments/72651f99-6fb6-4297-94a5-dfff1c5e94b9?fileName=vsts.png">
</body>
</html>
If I use the same URL to view, it displays the image properly.
EDIT: It looks like the internet explorer is not passing the session details like authentication, so the response I am getting visual studio is Sign in page instead of image data.