Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] mail,delivery: fix incorrect imports
- Loading branch information
Showing
2 changed files
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bb1c6bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for this fix.
As a side remark, I really dislike this idiom: it makes it much harder when reading code to know if a given
eval()
statement is using the sandboxed version or not. By using explicitelysafe_eval()
it becomes trivial to grep the code base and find potentially vulnerable calls toeval()
bb1c6bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gurneyalex I dislike it as well, and you'll be happy to see that we cleaned that up in master at bf668b6 and 4015e5a, and further, we now completely forbid any direct use of
eval
:-)