#399 MEDIUM: Uncaught ValueError in API integer parsing

closed medium Created 2025-12-11 22:44 · Updated 2025-12-11 22:50

Description

Edit
Multiple API endpoints use int(request.args.get()) without try-except: schedules.py:685, tenant_apps.py:53-54, api_keys.py:481-482. Non-numeric input raises unhandled ValueError. Fix: Use request.args.get(param, default, type=int).

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...