Fixes #660. Simplify some code and correctly do an exit after a redirect is issued. Thanks-to: Efonne for analysis.
Fixes #660. Simplify some code and correctly do an exit after a redirect is issued. Thanks-to: Efonne for analysis.

pfsense/pfsense,jxmx/pfsense,BlackstarGroup/pfsense,ch1c4um/pfsense,ptorsten/pfsense,brunostein/pfsense,phil-davis/pfsense,pfsense/pfsense,ptorsten/pfsense,ch1c4um/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,jxmx/pfsense,pfsense/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,pfsense/pfsense,NOYB/pfsense,NOYB/pfsense,brunostein/pfsense,dennypage/pfsense,brunostein/pfsense,BlackstarGroup/pfsense,NewEraCracker/pfsense,jxmx/pfsense,dennypage/pfsense,phil-davis/pfsense,ptorsten/pfsense,NewEraCracker/pfsense,dennypage/pfsense,phil-davis/pfsense,ch1c4um/pfsense,dennypage/pfsense,ch1c4um/pfsense,NOYB/pfsense,phil-davis/pfsense