forked from mirror/open-golang
re-adding call to cleaninput() so ampersands work in urls.
running `go fmt`
This commit is contained in:
parent
6c04014953
commit
e43cb5678b
|
@ -20,7 +20,7 @@ func cleaninput(input string) string {
|
|||
}
|
||||
|
||||
func open(input string) *exec.Cmd {
|
||||
return exec.Command(runDll32, cmd, input)
|
||||
return exec.Command(runDll32, cmd, cleaninput(input))
|
||||
}
|
||||
|
||||
func openWith(input string, appName string) *exec.Cmd {
|
||||
|
|
Loading…
Reference in New Issue