Kaynağa Gözat

Fortify echo; one URI per line

Fortify against bad characters in URLs.  This also makes www print one
URI per line (which was intended in the first place).
Alois Mahdal 10 yıl önce
ebeveyn
işleme
b515a06ba2
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      bin/saturnin-www.skel

+ 1
- 1
bin/saturnin-www.skel Dosyayı Görüntüle

@@ -14,4 +14,4 @@ test -z "$uri" && uri="$(echo "$@" | find_uri)"
14 14
 test -z "$uri" && uri="$(clipln | find_uri)"
15 15
 test -z "$uri" && uri="$(iniread -p www.bookmark.default)"
16 16
 
17
-echo $uri
17
+echo "$uri"