[MacPorts] #16672: portfile links are bad
#16672: portfile links are bad --------------------------------------+------------------------------------- Reporter: mark@dxradio.demon.co.uk | Owner: jmpp@macports.org Type: defect | Status: new Priority: Normal | Milestone: Website & Documentation Component: website | Version: Keywords: | Port: --------------------------------------+------------------------------------- from the "available ports" link which gives you http://www.macports.org/ports.php search for a port ... mysql5 (for instance, but anything will do) On the query results, there are one or more hits, for instance mysql5 5.0.67 with a the "mysql5" being a link to http://trac.macports.org/browser/trunk/dports/databases%2Fmysql5/Portfile However, this link is bad, giving an error page The requested URL /browser/trunk/dports/databases/mysql5/Portfile was not found on this server. This happens for any/all Portfile links from Query results. The link should be (in this example) http://trac.macports.org/browser/trunk/dports/databases/mysql5/Portfile (using FireFox 3.03 on XPsp3) -- Ticket URL: <http://trac.macports.org/ticket/16672> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16672: portfile links are bad ---------------------------------------+------------------------------------ Reporter: mark@dxradio.demon.co.uk | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Website & Documentation Component: website | Version: Resolution: | Keywords: Port: | ---------------------------------------+------------------------------------ Changes (by blb@macports.org): * owner: jmpp@macports.org => ryandesign@macports.org Comment: ryandesign@ appears to have added a urlencode() call to the result, which is causing this %2F escape of the slash (in r 37825, line 167). Assigning to him to find out if that's right or not... -- Ticket URL: <http://trac.macports.org/ticket/16672#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16672: portfile links are bad ---------------------------------------+------------------------------------ Reporter: mark@dxradio.demon.co.uk | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Website & Documentation Component: website | Version: Resolution: | Keywords: Port: | ---------------------------------------+------------------------------------ Comment(by blb@macports.org): hmm, it spaced my changeset link...that r37825. -- Ticket URL: <http://trac.macports.org/ticket/16672#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16672: portfile links are bad ---------------------------------------+------------------------------------ Reporter: mark@dxradio.demon.co.uk | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Website & Documentation Component: website | Version: Resolution: | Keywords: Port: | ---------------------------------------+------------------------------------ Changes (by blb@macports.org): * cc: yanjingfeng@hotmail.com (added) Comment: Cc reporter of dup #16703. -- Ticket URL: <http://trac.macports.org/ticket/16672#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16672: portfile links are bad ---------------------------------------+------------------------------------ Reporter: mark@dxradio.demon.co.uk | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Website & Documentation Component: website | Version: Resolution: fixed | Keywords: Port: | ---------------------------------------+------------------------------------ Changes (by ryandesign@macports.org): * cc: jmpp@macports.org, blb@macports.org (added) * status: new => closed * resolution: => fixed Comment: I appear not to have realized at the time that "`$row['path']`" contained a slash, in the form of "`<category>/<port>`". I added the escaping out of the habit of escaping everything. In this case, established port and category naming rules hopefully will prevent the need for having this escaping. Juan removed it in r40385. -- Ticket URL: <http://trac.macports.org/ticket/16672#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts