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
{{ message }}
Repository navigation
Microsoft IE/Edge doesn't seem to be pulling down client configuration settings. #23
changed the title [-]Microsoft Edge doesn't seem to be pulling down client configuration settings.[/-][+]Microsoft IE/Edge doesn't seem to be pulling down client configuration settings.[/+]on Oct 22, 2015
The reason here is that XHR.getAllResponseHeaders() returns a string that doesn't confirm to the specification. The string returned in the error instance:
The problem that causes the issue in Exceptionless.Javascript is the fact that the result of getAllResponseHeaders() starts of with '\n. That in turn causes the header to be stored like this:
headers['\nX-Exceptionless-ConfigVersion'] = 10;
Because the value is read with the extra \n, the current configVersion can't be read, and that causes the config API endpoint to never be called.
Fix is to trim the keys when we assign values to the object property.
Although the leading \n causes the problem, the trailing \r\n\r\n shouldn't be there either according to the specification
Activity
[-]Microsoft Edge doesn't seem to be pulling down client configuration settings.[/-][+]Microsoft IE/Edge doesn't seem to be pulling down client configuration settings.[/+]srijken commentedon Oct 22, 2015
Also seen in IE11, didn't check older browsers.
The reason here is that
XHR.getAllResponseHeaders()returns a string that doesn't confirm to the specification. The string returned in the error instance:The problem that causes the issue in Exceptionless.Javascript is the fact that the result of
getAllResponseHeaders()starts of with'\n. That in turn causes the header to be stored like this:Because the value is read with the extra
\n, the current configVersion can't be read, and that causes the config API endpoint to never be called.Fix is to trim the keys when we assign values to the object property.
Although the leading
\ncauses the problem, the trailing\r\n\r\nshouldn't be there either according to the specificationniemyjski commentedon Oct 22, 2015
Logged as a bug here: https://connect.microsoft.com/IE/feedbackdetail/view/1929694/ie-edge-incorrectly-return-the-header-with-a-leading-new-line-character