Skip to content

xdr-streaming connection closed on "javascript:;" in IE8 #90

@tomaszdurka

Description

@tomaszdurka

We're having an issue with xdr-streaming transport under IE8 while using <a> elements with href="javascript:;".

Reproduce steps:

  1. Download example: https://github.com/sockjs/sockjs-node/tree/master/examples/echo
  2. Run server, open http://localhost:9999 - should work fine.
  3. Add following code into index.html body: <a href="javascript:;">Break connection</a>
  4. Reload page - Connection should be established and work normal
  5. Click newly added <a> element
    Result: Connection is closed.

Actually any javascript: ... code within href attribute will break the connection. Is this known issue? We can workaround it, but would be great if we could keep those hrefs as they are right now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions