summaryrefslogtreecommitdiff
path: root/www/ns-remote
diff options
context:
space:
mode:
authorabs <abs>2000-08-29 09:04:03 +0000
committerabs <abs>2000-08-29 09:04:03 +0000
commit409f7c46db429d061300da33e925a79252a1d665 (patch)
tree1476879fcd8b0b89eff5a3976a1e0ad90497f93f /www/ns-remote
parentd63dd08ae37b8bd182b70098c840c1e641a2981d (diff)
downloadpkgsrc-409f7c46db429d061300da33e925a79252a1d665.tar.gz
Update to 1.2 - escape ` in urls in ns-open
Diffstat (limited to 'www/ns-remote')
-rw-r--r--www/ns-remote/Makefile4
-rwxr-xr-xwww/ns-remote/files/ns-open8
2 files changed, 6 insertions, 6 deletions
diff --git a/www/ns-remote/Makefile b/www/ns-remote/Makefile
index 877e0421f74..9bce0190087 100644
--- a/www/ns-remote/Makefile
+++ b/www/ns-remote/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2000/01/13 05:12:15 simonb Exp $
+# $NetBSD: Makefile,v 1.3 2000/08/29 09:04:03 abs Exp $
DISTNAME= ns-remote
-PKGNAME= ns-remote-1.1
+PKGNAME= ns-remote-1.2
CATEGORIES= www
MASTER_SITES= http://home.netscape.com/newsref/std/
DISTFILES= remote.c vroot.h
diff --git a/www/ns-remote/files/ns-open b/www/ns-remote/files/ns-open
index ce0490e240c..29da5282156 100755
--- a/www/ns-remote/files/ns-open
+++ b/www/ns-remote/files/ns-open
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: ns-open,v 1.1.1.1 2000/01/12 15:03:42 abs Exp $
+# $NetBSD: ns-open,v 1.2 2000/08/29 09:04:03 abs Exp $
#
# Simple script to open a URL in Netscape, starting a new process if necessary
# If a netscape process is not running will run 'netscape'.
@@ -15,9 +15,9 @@ if [ -z "$1" ]
then
ns-remote -noraise -remote openBrowser
else
- # encode any ',' to avoid problems with the openURL(x,y) command
- URL=`echo $1 | sed 's/,/%2c/g'`
- ns-remote -noraise -remote openURL\(${URL}\,new-window\)
+ # encode ',' or '`' to avoid problems with the openURL(x,y) command
+ URL=`echo $1 | sed -e 's/,/%2c/g' -e 's/\`/%60/g`
+ echo ns-remote -noraise -remote openURL\(${URL}\,new-window\)
fi
if [ $? -ne 0 ]