Skip to content

Commit

Permalink
Fix handling of incorrect if test import fail (DefectDojo#9544)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiblik authored and quirinziessler committed Feb 21, 2024
1 parent 1b3ad30 commit 1a03c8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dojo/engagement/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ def post(self, request, eid=None, pid=None):
return HttpResponseRedirect(
reverse('view_test', args=(test.id, )))

return HttpResponseRedirect(reverse('view_test', args=(test.id, )))
return HttpResponseRedirect(reverse('import_scan_results', args=(engagement.id, )))


@user_is_authorized(Engagement, Permissions.Engagement_Edit, 'eid')
Expand Down

0 comments on commit 1a03c8c

Please sign in to comment.