False negatives of `py/flask-debug`
Đang mở
- Ngôn ngữ chính
- CodeQL
- Star
- 10.1k
- Fork
- 2.1k
- Merge trung bình
- 2 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 141
Mô tả
`py/flask-debug` misses some common ways to enable debug mode in Flask.
For example:
```python
app = Flask(__name__)
app.config['DEBUG'] = True # Enables debug mode
app.run()
---
class Settings:
DEBUG = True
settings = Settings()
app.run(debug=settings.DEBUG)
```
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by locating the py/flask-debug query and reproducing the two examples in the issue. Compare the query's behavior with both configuration-based and argument-based debug activation; done means these common Flask patterns are detected without regressing existing cases.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- flask, python
- Lĩnh vực
- security
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 58/100