forgejo/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
mailer
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