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

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


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 33 - 6 = ?

 
 [2008-02-19 20: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-25 00:59 UTC] davidc (David Coallier)
What's the problem exactly ? That it doesn't accept HTTP but only http ?
 [2008-03-25 05: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 05: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 20: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