play nice with other implementations that replace " " with "%20"
This commit is contained in:
parent
f9232a095b
commit
a3ff94ec8e
3 changed files with 12 additions and 4 deletions
|
@ -31,5 +31,11 @@ func UnExpand(dir, workdir string) (outdir string) {
|
|||
|
||||
outdir = strings.Replace(outdir, home, "~", 1)
|
||||
|
||||
outdir = UnEscape(outdir)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
func UnEscape(input string) string {
|
||||
return strings.ReplaceAll(input, "%20", " ")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue