Subject: pkg/14984: ns-open (for netscape) shouldn't convert commas
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/17/2001 17:48:16
>Number:         14984
>Category:       pkg
>Synopsis:       ns-open converts commas to %2c -- this breaks some URLs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 17 17:49:00 PST 2001
>Release:        some junk here
System: NetBSD 1.5.1_BETA NetBSD 1.5.1_BETA (JCR-1.5-20010407) #0: Sat Apr 7 01:44:35 PDT 2001 reed@rainier:/usr/src/sys/arch/i386/compile/JCR-1.5-20010407 i386

Use /usr/pkg/bin/netscape which is a symlink to ns-open.
It does:
  URL=`echo $a | sed -e 's/"/%22/g' -e 's/,/%2c/g' -e 's/\`/%60/g`
This is needed by openURL syntax.
The commas above are converted and the page is not found!
Note that this problem only happens if a netscape is already open.
I don't know if there is a valid fix. ns-remote's openURL option doesn't
allow commas for URL. I tried with single quotes and double-quotes
around URL.