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.
gitea/services
zeripath 4a548a0332
Fix diff path unquoting (#12554) (#12575)
Backport #12554

* Fix diff path unquoting

services/gitdiff/gitdiff.go whereby there it assumed that the path would
always be quoted on both sides

This PR simplifies the code here and uses fmt.Fscanf to parse the
strings as necessary.

Fix #12546

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add testcase as per @mrsdizzie

Signed-off-by: Andrew Thornton <art27@cantab.net>
5 years ago
..
comments Refactor pull request review (#8954) 5 years ago
externalaccount Allow externalID to be UUID (#8551) 5 years ago
gitdiff Fix diff path unquoting (#12554) (#12575) 5 years ago
issue Fix ref links in issue overviews for tags (#8742) 5 years ago
mailer Sendmail should create a process on the gitea system and have a default timeout (#11256) 5 years ago
mirror Refactor Cron and merge dashboard tasks (#10745) 5 years ago
pull Default empty merger list to those with write permissions (#12535) (#12560) 5 years ago
release Backport to v1.12 for #12341 - Release date fix (#12351) 5 years ago
repository API endpoint for repo transfer (#9947) 5 years ago
wiki Handle push rejection in branch and upload (#10854) 5 years ago