mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Fix redirect on single-click actions when hosting at subdomain
`path_info` (pre-commit siutation) is precisely w/o script_name, but you want to just redirect to where you are, which is `path`. Fix #250, See #93 See: https://docs.djangoproject.com/en/5.2/ref/request-response/#django.http.HttpRequest.path_info https://docs.djangoproject.com/en/5.2/ref/request-response/#django.http.HttpRequest.path
This commit is contained in:
@@ -363,7 +363,7 @@ def _handle_post(request, issue):
|
||||
# resolve an issue for a specific release, and while you where thinking about that, it occurred for that
|
||||
# release. In that case it will probably stand out that your buttons don't become greyed out, and that the
|
||||
# dropdown no longer functions. already-true-vbc-unmute may be another exception to this rule.
|
||||
return HttpResponseRedirect(request.path_info)
|
||||
return HttpResponseRedirect(request.path)
|
||||
|
||||
|
||||
def _get_event(qs, issue, event_pk, digest_order, nav, bounds):
|
||||
|
||||
2
theme/static/css/dist/styles.css
vendored
2
theme/static/css/dist/styles.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user