mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-16 07:03:50 +01:00
fd15fd4c67
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> |
||
---|---|---|
.. | ||
compare.go | ||
copy.go | ||
paginate.go | ||
paginate_test.go | ||
path.go | ||
path_test.go | ||
remove.go | ||
sanitize.go | ||
sanitize_test.go | ||
shellquote.go | ||
shellquote_test.go | ||
timer.go | ||
truncate.go | ||
url.go | ||
util.go | ||
util_test.go |