fixing regex of autoLinks to work with urls that have www #477

Merged
merged 1 commit into from Feb 15, 2012

Conversation

Projects
None yet
2 participants
Contributor

krolow commented Feb 14, 2012

When you put to autoLink texts, with www in the middle of url, the autoLink was adding the a tag twice... e.g: http://www.not-working-www.com

So I have changed the regex and also add some test to fix that.

http://cakephp.lighthouseapp.com/projects/42648-cakephp/tickets/2574

Owner

markstory commented Feb 15, 2012

Thanks for the patch and test cases :D

@markstory markstory added a commit that referenced this pull request Feb 15, 2012

@markstory markstory Merge pull request #477 from krolow/ticket-2574
fixing regex of autoLinks to work with urls that have www
ba249ae

@markstory markstory merged commit ba249ae into cakephp:2.0 Feb 15, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment