#6104: Inflector::slug() converts path to string without multibyte words.
--------------------------+-------------------------------------------------
    Reporter:  MASA-P     |          Type:  Bug      
      Status:  new        |      Priority:  High     
   Milestone:  1.2.x.x    |     Component:  Core Libs
     Version:  1.2 Final  |      Severity:  Normal   
    Keywords:  multibyte  |   Php_version:  n/a      
Cake_version:             |  
--------------------------+-------------------------------------------------
 In Inflector::slug(), preg_replace() PHP code ignores multibyte string
 because '\w' meta charactor is not support multibyte string.[[BR]]
 [[BR]]
 Inflector::slug() is used to convert class name to file name usually. It
 is no problem. But for example, cache helper uses it when it needs a file
 name generated by a path. If the path including multibyte is coming, cache
 helper recognizes a simmilar cache file  because of
 Inflector::slug().[[BR]]

 [[BR]]
 [[BR]]
 For example.[[BR]]
 [[BR]]
 /controller/action/1 [[BR]]
 ==> cache 'controller_action_1.php'[[BR]]
 [[BR]]
 /controller/action/apple/1 [[BR]]
 ==> cache 'controller_action_apple_1.php'[[BR]]
 [[BR]]
 /controller/action/りんご/1 [[BR]]
 ( /controller/action/(Japanese word 'apple')/1 )[[BR]]
 ==> call caching file 'controller_action_1.php'

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6104>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to