Skip to content

Commit

Permalink
fix: 842e730 broke the Back button
Browse files Browse the repository at this point in the history
  • Loading branch information
pselkirk committed Jul 27, 2023
1 parent 6b57202 commit 3ef8a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ietf/nomcom/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ def process_nomination_status(request, year, nominee_position_id, state, date, h
@nomcom_private_key_required
def reclassify_feedback(request, year):
referer = request.META.get('HTTP_REFERER', None)
if 'nominee' in referer or 'topic' in referer or 'unrelated' in referer:
if 'view' in referer and ('nominee' in referer or 'topic' in referer or 'unrelated' in referer):
url = referer.replace('view', 'reclassify')
return HttpResponseRedirect(url)

Expand Down

0 comments on commit 3ef8a69

Please sign in to comment.