0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 21:26:25 +01:00
gitea/templates
zeripath fd15fd4c67
Handle too long PR titles correctly (#16517)
The CompareAndPullRequestPost handler for POST to /compare
incorrectly handles returning errors to the user. For a start
it does not set the necessary markers to switch SimpleMDE
but it also does not immediately return to the form.

This PR fixes this by setting the appropriate values, fixing
the templates and preventing the suggestion of a too long
title.

Fix #16507

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-07-25 03:59:27 +01:00
..
admin Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
base Make Mermaid.js limit configurable (#16519) 2021-07-24 00:21:51 -04:00
custom
explore
mail Use TrN helper for email templates (#16425) 2021-07-14 15:06:09 +02:00
org Add support for corporate WeChat webhooks (#15910) 2021-07-23 12:41:27 +08:00
repo Handle too long PR titles correctly (#16517) 2021-07-25 03:59:27 +01:00
shared
status
swagger Add support for corporate WeChat webhooks (#15910) 2021-07-23 12:41:27 +08:00
user Refactor: Move login out of models (#16199) 2021-07-24 11:16:34 +01:00
home.tmpl
install.tmpl Remove utf8 option from installation page (#16126) 2021-06-10 16:52:37 +08:00
post-install.tmpl