// being cut in the query
simon-rad opened this issue · 1 comments
simon-rad commented
Hello, I'm using your great library.
We had to clone it and comment out this line
https://github.com/oyvindkinsey/easyXDM/blob/master/src/Core.js#L333
The reason is - we have a query parameter in URL
And sometimes access token can contain two slashes //, and it is cut by that part of the code. and the token is not valid anymore.
Maybe there is a way to skip that replacement? Or can I contribute and add a setting for that replacement?
oyvindkinsey commented
This is a bug, since this normalization is only intended to apply to the path component of the url, and not additional components such as the fragment.
This should be fixed such that logic similar to that on #338 was applied.