Skip to content

Commit

Permalink
fix security issue OWASP-BLT#1314
Browse files Browse the repository at this point in the history
  • Loading branch information
JisanAR03 committed Nov 7, 2023
1 parent c3a7f25 commit 884eed5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -756,8 +756,7 @@ def create_issue(self,form):
return JsonResponse("Created", safe=False)
else:
self.process_issue(self.request.user, obj, domain_exists, domain)
return redirect("/report/")
# return HttpResponseRedirect(self.request.META.get("HTTP_REFERER"))
return HttpResponseRedirect(self.request.META.get("HTTP_REFERER"))

return create_issue(self,form)

Expand Down

0 comments on commit 884eed5

Please sign in to comment.