This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/modules/util
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
..
compare.go
copy.go
paginate.go
paginate_test.go
path.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
path_test.go
remove.go Make cancel from CatFileBatch and CatFileBatchCheck wait for the command to end (#16479) 2021-07-20 20:23:01 +03:00
sanitize.go Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
sanitize_test.go Add push to remote mirror repository (#15157) 2021-06-14 19:20:43 +02:00
shellquote.go
shellquote_test.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
timer.go
truncate.go Handle too long PR titles correctly (#16517) 2021-07-25 03:59:27 +01:00
url.go
util.go
util_test.go