silverstripe/silverstripe-framework — pull request #2987 by tractorcow (2014-03-26 22:10:30+00:00)
Title: FIX Escape the redirect URL before outputting (alternate implementation)

Slightly more rigorous implementation of #2981.

This PR would do well with a behat test, if someone has capacity to build one.

A manual test resulted in the following output.

```html

Redirecting to
http://www.google.com/#hello... (output started on /sitedir/mysite/code/Page.php, line 47)

```