Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cache-control header clearing comment text when editing issue
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. Fixes go-gitea#22603
- Loading branch information