diff options
-rw-r--r-- | browserenv.go | 1 | ||||
-rw-r--r-- | browserenv_unix.go | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/browserenv.go b/browserenv.go index 4edb032..f799770 100644 --- a/browserenv.go +++ b/browserenv.go @@ -121,7 +121,6 @@ func browserCommandIncludesURL(command string) bool { } func fmtWithURL(command, url string) string { - // TODO: shellescape URL return strings.ReplaceAll(command, "%s", url) } diff --git a/browserenv_unix.go b/browserenv_unix.go index 0e62fe5..6d569e4 100644 --- a/browserenv_unix.go +++ b/browserenv_unix.go @@ -20,6 +20,5 @@ func shell() (args []string) { // TODO func shellEscapeCommand(browser, url string) string { - // TODO: handle %s in browser command return fmt.Sprintf("%s '%s'", browser, url) } |