Skip to content

Commit f338ea6

Browse files
author
Matthew Jadud
authored
Merge pull request #4422 from GSA-TTS/main
2 parents bac486b + 89aee00 commit f338ea6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backend/report_submission/views.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,9 @@ def post(self, request, *args, **kwargs):
608608
)
609609

610610
logger.info("The file has been successfully deleted.")
611-
return redirect(f"/audit/submission-progress/{report_id}")
611+
return Util.validate_redirect_url(
612+
f"/audit/submission-progress/{sac.report_id}"
613+
)
612614

613615
except SingleAuditChecklist.DoesNotExist:
614616
logger.error(f"Audit: {report_id} not found")

0 commit comments

Comments
 (0)