diff options
author | zeripath <art27@cantab.net> | 2020-08-22 16:07:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-22 16:07:37 +0100 |
commit | 7a8a05cc44a7ddf39ddea679434acacc8f47dfc1 (patch) | |
tree | 74d43f1cf40ea39f243e81034db262816d45f400 /Dockerfile | |
parent | fcabbae1686b82cb495d8d430279b745a707f377 (diff) | |
download | gitea-7a8a05cc44a7ddf39ddea679434acacc8f47dfc1.tar.gz gitea-7a8a05cc44a7ddf39ddea679434acacc8f47dfc1.zip |
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>
Diffstat (limited to 'Dockerfile')
0 files changed, 0 insertions, 0 deletions