Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.7
-
Fix Version/s: 1.10.1
-
Component/s: Zend_Controller
-
Labels:None
Description
Zend_Controller_Action_Helper uses request URI as cache id. It generates an exception.
cache id is generated at
library/Zend/Controller/Action/Helper.php:157
The exception came from Zend_Cache_Core
"Invalid id or tag '/mycontroller/myaction' : must use only [a-zA-Z0-9_]"
Patched in SVN - it's actually an issue with Zend_Cache_Core but cannot be refactored at this time. Instead the ID is now encoded to hexadecimal (hexdec()) to bypass the ID check and converted back using pack() on the other side.