Fixed paths generated using app.request.requestUri when in a reverse proxy with a subpath

Related to issue #428
This commit is contained in:
Jan Böhmer 2023-11-11 23:14:22 +01:00
parent 5f86253b94
commit 7163df6d46
9 changed files with 10 additions and 9 deletions

View file

@ -22,7 +22,7 @@
data-delete-title="{% trans %}log.undo.confirm_title{% endtrans %}"
data-delete-message="{% trans %}log.undo.confirm_message{% endtrans %}">
<input type="hidden" name="redirect_back" value="{{ app.request.requestUri }}">
<input type="hidden" name="redirect_back" value="{{ app.request.baseUrl ~ app.request.requestUri }}">
<div class="btn-group btn-group-sm" role="group">
<button type="submit" class="btn btn-outline-secondary" name="undo" value="{{ entry.id }}" {% if disabled %}disabled{% endif %}>