You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The no-store cache control added in go-gitea#20432 is causing form input to be cleared
unnecessarily on page reload. Instead use max-age=0,private,must-revalidate
which avoid 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 reload and lose the
unsubmitted comment.
Fixesgo-gitea#22603
…2604)
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
Description
To reproduce:
If you've spent some time typing out a detailed comment, this is not ideal.
It was caused by #20432. Before that the comment was preserved.
Tested on Firefox 109, Ubuntu Linux 20.04.
Gitea Version
e8ac6a9 (main)
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Built Gitea myself, and confirmed on try.gitea.io.
Database
None
The text was updated successfully, but these errors were encountered: