pfSense Custom Login Page Error

The error occurs when send requests redirurl field in the current version.

Error: 
Failed setsockoptFailed setsockopt Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/captiveportal.inc:1956) in /etc/inc/captiveportal.inc on line 1707

Version: 
pfSense 2.2 Alpha

custom-login.html:

![pfsense](https://cloud.githubusercontent.com/assets/5313560/3484894/da0d444a-03b9-11e4-9dda-23974c5b9c58.png)

Solution:
/etc/inc/captiveportal.inc:1707  "header("Location: {$redirurl}");" over "ob_clean();" added.