-
-
Notifications
You must be signed in to change notification settings - Fork 585
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
'NoneType' object has no attribute 'id'Traceback in django_mark_safe #574
Comments
hi @darakian can you let us know the exact args you use to call Bandit and if the project you are scanning is available, the github repo url please |
Sure thing. First the args are
The project is the django web framework and I'm using this file in particular With some quick testing it looks like any combination of i's and l's cause the stack trace. This includes not having them ex.
|
I am having this issue as well. I can't share the full example since it's part of a closed source codebase, but basically here's what's happening:
The line has the issue:
Workaround is to move
|
@ehooo I can see this is your code, do you mind taking a look? |
Fixed with #598 |
Describe the bug
While running bandit 1.6.2 I get the following output
Expected behavior
Not seeing a stack trace.
Bandit version
The text was updated successfully, but these errors were encountered: