GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Microsoft IE/Edge doesn't seem to be pulling down client configuration settings. · Issue #23 · exceptionless/Exceptionless.JavaScript

Microsoft IE/Edge doesn't seem to be pulling down client configuration settings. #23

New issue
Copy link
New issue
Copy link
Closed
Closed
Microsoft IE/Edge doesn't seem to be pulling down client configuration settings.#23
Copy link
Labels
bughelp wanted

Description

@niemyjski
niemyjski
opened on Jun 16, 2015
Issue body actions

I noticed this during testing that it doesn't seem to be parsing the header properly.

Activity

  1. niemyjski
    added
    bug
    help wanted
    on Jun 16, 2015
  2. niemyjski
    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
  3. niemyjski
    closed this as completedin 63b5c6don Oct 22, 2015
  4. srijken commented on Oct 22, 2015

    @srijken
    srijken
    on Oct 22, 2015
    Contributor
    More actions

    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:

    \nX-Exceptionless-ConfigVersion: 10\r\nX-RateLimit-Limit: 3500\r\nX-RateLimit-Remaining: 3483\r\n\r\n
    

    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

  5. niemyjski commented on Oct 22, 2015

    @niemyjski
    niemyjski
    on Oct 22, 2015
    MemberAuthor
    More actions

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.