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 7a8a05cc44
Fix diff path unquoting (#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) 5 years ago
issue Fix ref links in issue overviews for tags (#8742) 5 years ago
mailer Add push commits history comment on PR time-line (#11167) 5 years ago
mirror Support Force-update in Mirror and improve Tracing in mirror (#12242) 5 years ago
pull Prevent NPE on commenting on lines with invalidated comments (with migration) (#12549) 5 years ago
release Add a storage layer for attachments (#11387) 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