redirect issue fix #2405

Some minor changes to Public_controller & redirect_m.
Public_controller - searching the return str for (/:any) and redirect.
redirect_m - extended query for uri segments : explode.