RusticiSoftware/TinCanJS

content=undefined on IE mode GET requests

Closed this issue · 2 comments

When making an IE mode get request, TinCanJS adds 'content=undefined' at the end of the querystring.

Looks like the issue is here: https://github.com/RusticiSoftware/TinCanJS/blame/6f51600a2d30f63d7ef61d528c99e6ff003c5934/src/Environment/Browser.js#L364

and it needs to be updated in line with the fix here: https://github.com/RusticiSoftware/TinCanJS/blame/6f51600a2d30f63d7ef61d528c99e6ff003c5934/src/Environment/Browser.js#L183

Very odd. This was actually compatible with the original which had a null check. But +1 to making them both check for it being defined. Do you want to PR?

I'm having this same issue. Is there a workaround for this? It's causing my requests to return a 415 status code.