Maybe a bug in IE's hashTransport
j1anb1n opened this issue · comments
J1anb1n commented
I found a bug here:
https://github.com/oyvindkinsey/easyXDM/blob/master/src/stack/HashTransport.js#L57
while the config.remote is end up with '&', like this:
http://xxx.com/index.html?a=1&b=2&
if you append a hash that start with a number, that will make IE to reload the page, like this:
http://xxx.com/index.html?a=1&b=2_xxxxxxx
a simple way to fix this bug is just remove msgNr in HashTransport then the hash will start with "".
Øyvind Sean Kinsey commented
The number is there for a reason :)
Feel free to submit a pull req where a prefix is added to disambiguate between a real message and other valid values.