6.0.0-beta1
7/4/25

[#7856] Horde_Autoloader breaks with paths that contain an underscore (_) character
Summary Horde_Autoloader breaks with paths that contain an underscore (_) character
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners Horde Developers (at) , chuck (at) horde (dot) org, slusarz (at) horde (dot) org
Requester mrubinsk (at) horde (dot) org
Created 01/15/2009 (6014 days ago)
Due
Updated 06/30/2009 (5848 days ago)
Assigned 01/19/2009 (6010 days ago)
Resolved 06/30/2009 (5848 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/30/2009 06:43:28 PM Michael Slusarz Comment #2
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
Fixed.
01/19/2009 02:04:13 AM Chuck Hagenbuch Assigned to Chuck Hagenbuch
State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
 
01/15/2009 11:02:45 PM Michael Rubinsky Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Horde_Autoloader breaks with paths that contain an underscore (_) character
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
If a path for an auto-included file has an underscore in it, it is 
replaced with a '/' character.  So that paths such as   
horde_dev/horde-hatchery/imp/lib will be parsed by the Autoloader to 
be horde/dev/horde-hatchery/imp/lib



This means that IMP, for example, could never be installed in any path 
with an underscore, and thus should be fixed to only replace 
occurrences of '_' (and probably the '::' too) in the $class name.




Saved Queries