You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The function get_url overwrite the info['id'] stored on extension_loader.MANAGER.blacklist_by_id
To Reproduce
Steps to reproduce the behavior:
In [1]: from bandit.core.docs_utils import get_url
In [2]: get_url('B304')
Out[2]: 'https://bandit.readthedocs.io/en/latest/blacklists/blacklist_calls.html#b304-b305-ciphers-and-modes'
In [3]: get_url('B304')
Out[3]: 'https://bandit.readthedocs.io/en/latest/blacklists/blacklist_imports.html#b304-b305-ciphers-and-modes'
Expected behavior
Call to bid with same bid must return same url
Bandit version
bandit 1.6.1
python version = 3.6.8 (default, Jan 31 2019, 09:38:34) [GCC 8.2.1 20181215 (Red Hat 8.2.1-6)]
The text was updated successfully, but these errors were encountered:
Describe the bug
The function get_url overwrite the info['id'] stored on extension_loader.MANAGER.blacklist_by_id
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Call to bid with same
bid
must return same urlBandit version
The text was updated successfully, but these errors were encountered: