Debugger isn't auto turned off, when ajax redirect is performed resulting broken redirect
Components
Labels
None
Description
Context Information
None
Additional information (do not use)
None
Attachments
1
Activity
Show:

Alex September 19, 2011 at 9:08 PM
Closing, since 5.1.3 release has been released.

Alex August 24, 2011 at 7:50 AM
Fix committed to [b]5.1.x branch/b. Commit Message:
Fixes #0001103: Debugger isn't auto turned off, when ajax redirect is performed resulting broken redirect

Dmitry Andrejev August 23, 2011 at 10:28 PM
Tested please commit.

Dmitry Andrejev August 23, 2011 at 5:07 PM
Move to 5.1.3
Fixed
Priority
Assignee

Reporter

Developer

Change Log Message
Removes debuggger report from ajax redirect output
Patch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
External issue ID
1103
External issue URL
Fix versions
Affects versions
Created August 17, 2011 at 9:54 AM
Updated December 29, 2024 at 9:12 PM
Resolved September 19, 2011 at 9:08 PM
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.