CSRF-Protector-PHP
CSRF-Protector-PHP copied to clipboard
IE-8 support
Hi,
This library doesn't work with IE-8, i have also tried code at the following branch but with no luck. My webpages have some ajax on them, following errors are generated the minute they get a response, not sure if this helps to track the issue
https://github.com/mebjas/CSRF-Protector-PHP/blob/IE-7-support/js/csrfprotector.js
Errors are Invalid procedure call or argument on csrfprotector.js, Line 260 [return this.old_open(method, url, async, username, password);]
And a typo on line 346
It will be nice if we can fix this issue, thanks!
@Haider125 - there seem to be a couple of issues with JS + IE<=8 I checked the syntax for line 260, it looks fine. It must be issue with how AxtiveXObject is called. I'd need to investigate that, but can't guarantee on the the deadline as I haven't been able to put bandwidth on IE<=8 issues. It'd be amazing if you are willing to take that up, totally look forward to have a working IE supported branch and merge with master if nothing is broken.
Fixed the typo one, thanks for that 👍