Debugger isn't auto turned off, when ajax redirect is performed resulting broken redirect

2 views
Skip to first unread message

Alexander Obuhovich

unread,
Aug 17, 2011, 5:54:34 AM8/17/11
to In-Portal Bugs
When redirect is requested within ajax request, then "#redirect#url_here" text is returned as ajax request result instead of "header('Location: url_here')" being sent as usual.

This is done for ajax request caller to decide how redirect should be handled.


It works fine with debug mode turned off, but it breaks redirect, when debug mode is on resulting debugger report being printed after "#redirect#url_here" text.



Ready for testing.
turn_off_debug_before_ajax_redirect.patch
Reply all
Reply to author
Forward
0 new messages