Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.26.0

Request #13151 'Add Site' feature too restrictive - allow directories
Submitted: 2008-02-19 15:23 UTC Modified: 2009-02-03 15:05 UTC
From: jldupont Assigned: davidc
Status: Assigned Package: pearweb
PHP Version: Irrelevant OS: irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2008-02-19 15:23 UTC] jldupont (Jean-Lou Dupont)
Description: ------------ The 'Add Site' functionality located at http://pear.php.net/channels/ does not permit adding channels of the form 'HTTP://host/directory/' . " add.php " expects to use only the 'host' part of the URI provided by the user whilst it would require the full URI in order to support the aforementioned case.

Comments

 [2008-03-24 20:59 UTC] davidc (David Coallier)
What's the problem exactly ? That it doesn't accept HTTP but only http ?
 [2008-03-25 01:16 UTC] wiesemann (Mark Wiesemann)
The problem is that directories are not allowed (the directory information is ignored in the Net_URL2 validation part). BTW: The JavaScript validation is also broken. It needs to use '/' as the delimiter, not '#'.
 [2009-01-18 00:26 UTC] doconnor (Daniel O'Connor)
I was looking at this code just today - take a look at Bug #151668 ; this is pretty trivial to implement in that same area.
 [2009-02-03 15:05 UTC] doconnor (Daniel O'Connor)
-Summary: 'Add Site' feature too restrictive +Summary: 'Add Site' feature too restrictive - allow directories -Type: Bug +Type: Feature/Change Request