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

Search Crash #157

Closed
yzddmr6 opened this issue Apr 25, 2019 · 1 comment
Closed

Search Crash #157

yzddmr6 opened this issue Apr 25, 2019 · 1 comment
Assignees
Labels
🐛Bug 程序自身问题

Comments

@yzddmr6
Copy link
Member

yzddmr6 commented Apr 25, 2019

image
输入一个 \ 蚁剑就会直接崩溃卡死
环境 : win新版本加载器

@Medicean Medicean added the 🐛Bug 程序自身问题 label Apr 25, 2019
@Medicean Medicean self-assigned this Apr 25, 2019
@Medicean
Copy link
Collaborator

搜索的时候用了正则表达式,如果表达式输入的错误的话(比如: (a),就会 throw Exception.

修复方案如下:尝试将输入 build 成正则表达式,如果出错的话,就把所有的正则表达式字符全部转义。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug 程序自身问题
Projects
None yet
Development

No branches or pull requests

2 participants