summaryrefslogtreecommitdiffstats
path: root/templates/admin/stacktrace.tmpl
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2023-02-01 22:28:06 +0100
committerGitHub <noreply@github.com>2023-02-01 15:28:06 -0600
commit1e0e79dcbfb21971ac4cd591585672517117d4f0 (patch)
tree457e9df22f6d0bcca0f61b1763f9e9feb8a00efd /templates/admin/stacktrace.tmpl
parentb6b8feb3dec19e7bc96bc583acf10c01afca3362 (diff)
downloadgitea-1e0e79dcbfb21971ac4cd591585672517117d4f0.tar.gz
gitea-1e0e79dcbfb21971ac4cd591585672517117d4f0.zip
Fix cache-control header clearing comment text when editing issue (#22604)
The `no-store` cache control added in #20432 is causing form input to be cleared unnecessarily on page reload. Instead use `max-age=0,private,must-revalidate` which avoids this. This was particularly a problem when typing a long comment for an issue and then for example changing the label. The page would be reloaded and lose the unsubmitted comment. Fixes #22603
Diffstat (limited to 'templates/admin/stacktrace.tmpl')
0 files changed, 0 insertions, 0 deletions