fixed secure redirect issue

Redirect::secure appends an "/1" at the end of paths because php sees an empty array as passed as being "1".