0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 20:44:36 +01:00
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>
2020-08-22 16:07:37 +01:00
..
comments
externalaccount
gitdiff Fix diff path unquoting (#12554) 2020-08-22 16:07:37 +01:00
issue Fix ref links in issue overviews for tags (#8742) 2020-05-14 18:55:43 -04:00
mailer Add push commits history comment on PR time-line (#11167) 2020-05-20 09:47:24 -03:00
mirror Support Force-update in Mirror and improve Tracing in mirror (#12242) 2020-08-20 16:41:07 -04:00
pull Prevent NPE on commenting on lines with invalidated comments (with migration) (#12549) 2020-08-21 10:53:14 +03:00
release Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
repository
wiki