We got a bug report on an website today that people could no longer open files we store in a SQL database. After a little research we determined the issue was only in IE10 and IE11. Here is what the download message looked like.
Notice the extra single ticks around motorists.jpg? When you download a file and the extension is .jpg’ or .zip’ you get unpredictable results. Here is the line of code that was causing the issue.
Here is the fixed line of code. Just removing the single ticks from around the file.