diff --git a/backend/report_submission/views.py b/backend/report_submission/views.py index df197b533..7126e2c37 100644 --- a/backend/report_submission/views.py +++ b/backend/report_submission/views.py @@ -608,7 +608,9 @@ def post(self, request, *args, **kwargs): ) logger.info("The file has been successfully deleted.") - return redirect(f"/audit/submission-progress/{report_id}") + return Util.validate_redirect_url( + f"/audit/submission-progress/{sac.report_id}" + ) except SingleAuditChecklist.DoesNotExist: logger.error(f"Audit: {report_id} not found")