#1008 √ wont-fix
Rachman Chavik

Inflector::slug() returns incorrect results in RHEL or CentOS systems

Reported by Rachman Chavik | August 11th, 2010 @ 02:28 AM | in 1.3.3

Calling Inflector::slug('1SourceSample.xls') returned strange result: ou_mpl_l.
The correct result should have been: 1SourceSample_xls.

This behavior seem to be present only in cakephp 1.3.x on RHEL 5 and CentOS 5.4 systems.
CakePHP 1.2.5 does not have this problem.

To reproduce this issue, i used the following shell:

class BugShell extends Shell {
    function main() {
        $this->out('Inflected: ' .  Inflector::slug('1SourceSample.xls'));
    }
}

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Source available from github

Repository is at http://github.com/cakephp/cakephp

Creating a bug report

When creating a bug report, please include as much relevant information as possible. Please include code to reproduce the issue. Or even better, make a unit test. Either change an existing test or add a new test to show that the expected behavior is not occuring.

People watching this ticket

Referenced by