joereynolds / joereynolds/sql-lint

Unable to lint query

Open
#201 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
459
Forks
44
PR merge metrics
No merged PRs in 30d

Description

sql-lint was unable to lint the following query "(分号)[9] ()(括号)'WHERE vul_name='LDAP注入';".This could be a bug with sql-lint.

Is there any escape character or cjk character that cannot be processed normally here?

I use SQL-LINT to scan the mysql initialization script of our open source project, but there will be escape characters and Chinese characters in our .sql file.
You can find the sql file here.
[https://github.com/HXSecurity/Dongtai-Base-Image/tree/main/mysql](https://github.com/HXSecurity/Dongtai-Base-Image/tree/main/mysql)
The following is the record of running sql-lint.
[6_SQL LINT.txt](https://github.com/joereynolds/sql-lint/files/7802751/6_SQL.LINT.txt)

Hope it can be resolved.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.