Zend Framework

due invalid cache id Zend_Controller_Action_Helper crashes

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor 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_]"

Activity

Hide
Pádraic Brady added a comment -

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.

Show
Pádraic Brady added a comment - 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.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: