You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1st it should obviously be && instead of ||, otherwise the condition is always true,
2nd in IE8, getResponseHeader seems to return '' (empty string) instead of null or undefined, so the test fails anyway. I suggest to replace the conditions as follows:
Well, I still get an empty string in IE8 on WinXP (I know, but we use WinXP on our IE-testing VMs) instead of null or undefined. I think it wouldn't hurt to add the empty string check as suggested??
The original code from Atmosphere 1.0.1 looks like this:
There are two problems:
1st it should obviously be && instead of ||, otherwise the condition is always true,
2nd in IE8, getResponseHeader seems to return '' (empty string) instead of null or undefined, so the test fails anyway. I suggest to replace the conditions as follows:
if (tempDate != null && tempDate != undefined && tempDate != "")
and
if (tempUUID != null && tempUUID != undefined && tempUUID != "")
Without this fix, IE sends an empty X-Cache-Date parameter which leads to a NumberFormatException in HeaderBroadcasterCache:96 when it is used.
The text was updated successfully, but these errors were encountered: