invite: don't allow http

This commit is contained in:
Hylke Bons 2012-03-02 00:13:28 +00:00
parent ab9358fcdf
commit 3d59dbbdf1

View file

@ -63,7 +63,7 @@ case $1 in
;;
open|--open)
invite=`date -u +%N`
curl -o ~/SparkleShare/$invite.xml `echo $2 | sed s/sparkleshare:/https:/` || curl -o ~/SparkleShare/$invite.xml `echo $2 | sed s/sparkleshare:/http:/`
curl -o ~/SparkleShare/$invite.xml `echo $2 | sed s/sparkleshare:/https:/`
;;
help|--help|-h)
mono "@expanded_libdir@/@PACKAGE@/SparkleShare.exe" --help