Subject: pkg/14984: ns-open (for netscape) shouldn't convert commas
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
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
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        some junk here
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
System: NetBSD rainier.reedmedia.net 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


>Description:
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.
>How-To-Repeat:
netscape http://www.zdnet.com.au/newstech/os/story/0,2000024997,20262355,00.htm
The commas above are converted and the page is not found!
Note that this problem only happens if a netscape is already open.
>Fix:
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.
>Release-Note:
>Audit-Trail:
>Unformatted: