Construct the correct current path, when serving from a subdirectory

This fixes issue #274
This commit is contained in:
Jan Böhmer 2024-10-13 22:49:42 +02:00
parent 0c47aa226c
commit 7145bce605
10 changed files with 12 additions and 12 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.baseUrl ~ app.request.requestUri }}">
<input type="hidden" name="redirect_back" value="{{ app.request.baseUrl ~ app.request.pathInfo }}">
<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 %}>