Skip to content
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

(fix): check innerClazz while get property #571

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

human-user
Copy link
Contributor

@human-user human-user commented Sep 18, 2023

这个pr目的是防范对未在白名单内的类进行不恰当的调用。
如果不将AviatorEvaluatorInstance和Env类加入白名单,利用__instance__和__env__从而对这两者的属性、方法调用也是失败

@killme2008
Copy link
Owner

Good catch!

@killme2008 killme2008 merged commit d4415b3 into killme2008:master Oct 3, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants