diff options
author | knu <knu@FreeBSD.org> | 2000-07-07 08:43:20 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-07-07 08:43:20 +0000 |
commit | 977a79a15cb7e6e885ddb96c67198a1170a966fa (patch) | |
tree | 82b2f3d739182a2316e1faef1f6a6086b30c3c42 /www/netscape-wrapper | |
parent | 0a42eaeb599c94c6e9e8e10a68c8a74f69ee4f08 (diff) | |
download | FreeBSD-ports-977a79a15cb7e6e885ddb96c67198a1170a966fa.zip FreeBSD-ports-977a79a15cb7e6e885ddb96c67198a1170a966fa.tar.gz |
Escape problematic characters such as `,', `(' and `)' in an URL.
PR: ports/19609
Submitted by: Mikko Tyolajarvi <mikko@dynas.se>
Diffstat (limited to 'www/netscape-wrapper')
-rw-r--r-- | www/netscape-wrapper/Makefile | 2 | ||||
-rw-r--r-- | www/netscape-wrapper/files/netscape.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/www/netscape-wrapper/Makefile b/www/netscape-wrapper/Makefile index 9441b75..6b14ae1 100644 --- a/www/netscape-wrapper/Makefile +++ b/www/netscape-wrapper/Makefile @@ -6,7 +6,7 @@ # PORTNAME= netscape-wrapper -PORTVERSION= 2000.06.28 +PORTVERSION= 2000.07.7 CATEGORIES= www MASTER_SITES= # none DISTFILES= # none diff --git a/www/netscape-wrapper/files/netscape.sh b/www/netscape-wrapper/files/netscape.sh index beec645..a5b36ff 100644 --- a/www/netscape-wrapper/files/netscape.sh +++ b/www/netscape-wrapper/files/netscape.sh @@ -58,7 +58,7 @@ killstale () { # Try calling existing netscape process with functions, else start one. newbrowser () { - [ $# -gt 0 ] && url=`echo $@ | sed 's/\ -[^ ]*//g; s/\( | \)*//'` + [ $# -gt 0 ] && url=`echo $@ | sed 's/\ -[^ ]*//g; s/\( | \)*//; s/,/%2C/g; s/(/%28/g; s/)/%29/g;'` if [ -L $lockfile ]; then if [ "$url" = "" ]; then $netscape_remote $defsrem "xfeDoCommand($b_opt)" "$@" 2>/dev/null || \ |