-
Notifications
You must be signed in to change notification settings - Fork 147
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
Bypassing AllowReflection = false via exceptions #1
Comments
Nice find! The problem is that ClearScript traps |
@ClearScriptLib I assume you're overriding |
…llowReflection is false (GitHub Issue #1), renamed ReadMe.txt to Build.txt.
@Rene-Sackers |
Thank you for the quick fix! |
@Rene-Sackers You make a good point, but most of the remaining |
It looks like it's possible to bypass AllowReflection = false via exceptions. Here is a very basic example that demonstrates the problem:
The first
GetType()
will throw an exception (and it is caught by javascript), but the secondex.hostException.GetType()
does not throw an exception.The text was updated successfully, but these errors were encountered: