You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
admin Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
dev Refactor routers directory (#15800) 3 years ago
events Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
explore Refactor routers directory (#15800) 3 years ago
org Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
repo Handle too long PR titles correctly (#16517) 3 years ago
user Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
base.go Add sso.Group, context.Auth, context.APIAuth to allow auth special routes (#16086) 3 years ago
goget.go Refactor routers directory (#15800) 3 years ago
home.go Refactor routers directory (#15800) 3 years ago
metrics.go Refactor routers directory (#15800) 3 years ago
swagger_json.go Refactor routers directory (#15800) 3 years ago
web.go Fix issue pasted image missing if no release permission (#16520) 3 years ago