cakephp/cakephp — pull request #1258 by robmcvey (2013-04-30 16:16:24+00:00)
Title: 2.4 escaping urls

Text::autoLink appears to escape ampersands in URLs. (Added to test case to demonstrate).

```
1) TextHelperTest::testAutoLink
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'This is a test text with URL http://www.cakephp.org?product_id=666&foo=bar&something=breaking'
+'This is a test text with URL http://www.cakephp.org?product_id=666&foo=bar&something=breaking'

/Users/robmcvey/Projects/cakephp/lib/Cake/Test/Case/View/Helper/TextHelperTest.php:154
```

If a URL has GET params, should autoLink remove these? The anchor text of the link will display as "&" and the URL itself won't won't.

Happy to fix, or if this is indeed the desired behaviour (for a reason I can't think of!) please close.

Keep up the good work, fellas!