laravel/laravel — pull request #570 by AoSiX (2012-04-21 12:52:45+00:00)
Title: Change htmlentities to urlencode for link

In the HTML class, method link ( line 129 ),

```PHP
$url = static::entities(URL::to($url, $https));
```

This is not good, URL should not contain HTMLentities. You should use urlencode() instead.

htmlentities('à-propos') -> à-propos ( invalid in URL )
urlencode('à-propos') -> %c3%a0-propos ( valid in URL )

Note that http://website.com/à-propos is valid too

Signed-off-by: Julien TANT