-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Synchronous XMLHttpRequest deprecation? #137
Comments
I intend to include the fix for this in a larger refactoring that I am doing. |
@forgedhallpass thanks for the reply. Is it correct to assume that simply changing the request to be asynchronous would be a security problem? |
Normally it shouldn't be, but I haven't had the time to test everything out yet. Besides setting the async flag to true, the responses must be handled in callbacks. |
There is a race condition while requesting the page tokens asynchronously if some of the protected pages are referenced from IFRAMEs or IMG tags, that results in false-positive attack attempts. |
Related to #51 |
Because of the above mentioned race condition, the async flag was made configurable in the new code-base. The test application was also updated with a new page dedicated to this special scenario.
You can find the new release candidate under releases under the official repository. |
Chrome Version 84.0.4147.135 is reporting:
in the hijackStandard() method:
Is this something that can be cleaned up?
The text was updated successfully, but these errors were encountered: