[MacPorts] #18736: distname is not percent-encoded before gluing it into the URL

MacPorts noreply at macports.org
Tue Mar 3 05:16:51 PST 2009


#18736: distname is not percent-encoded before gluing it into the URL
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  macports-tickets@…                   
     Type:  enhancement              |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  MacPorts 1.8.0                       
Component:  base                     |     Version:  1.7.0                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------
 MacPorts base does not percent-encode the distname before putting it in
 the final URL. This causes distnames containing spaces to be completely
 unavailable (causes a Tcl error), causes distnames containing a percent
 character to probably not download at all (probably not a common need),
 and causes distnames containing a plus character to work sometimes but not
 others, at the whim of the web server (since a plus should really be
 encoded as %2b the web server is completely within its right to not know
 what we're asking for).

 I first noted this in [comment:ticket:18733:3 #18733] in response to
 r47662.

-- 
Ticket URL: <http://trac.macports.org/ticket/18736>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list