diff options
author | abs <abs@pkgsrc.org> | 2000-08-29 09:04:03 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2000-08-29 09:04:03 +0000 |
commit | fe63671277c10a7314f9f0081ac8a00a0997f29e (patch) | |
tree | 1476879fcd8b0b89eff5a3976a1e0ad90497f93f /www/ns-remote | |
parent | 697bf672be93e807e092d714e56da0e29e17b8a3 (diff) | |
download | pkgsrc-fe63671277c10a7314f9f0081ac8a00a0997f29e.tar.gz |
Update to 1.2 - escape ` in urls in ns-open
Diffstat (limited to 'www/ns-remote')
-rw-r--r-- | www/ns-remote/Makefile | 4 | ||||
-rwxr-xr-x | www/ns-remote/files/ns-open | 8 |
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 ] |