Fixed
Details
Priority
MinorAssignee
AlexAlexReporter
AlexAlexDeveloper
AlexAlexChange Log Message
Fixes AJAX redirect in debug modePatch 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
922External issue URL
Fix versions
Affects versions
Details
Details
Priority
Assignee
Alex
AlexReporter
Alex
AlexDeveloper
Alex
AlexChange Log Message
Fixes AJAX redirect in debug mode
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
922
External issue URL
Fix versions
Affects versions
Created November 13, 2010 at 6:47 PM
Updated December 30, 2024 at 2:24 AM
Resolved March 30, 2011 at 2:53 PM
When inside AJAX request, then In-Portal don't perform regular redirect via "Location:" header, since it could break whole ajax request.
Instead of that ajax responce in form "#redirect#new_url_here" is returned. In case, when debug mode is enabled, then responce becomes "#redirect#new_url_here some_debugger_report_part_ here". This prevents proper redirect url to be parsed.
I propose to replace "#redirect#(.*)" regular expression to "#redirect#(.*?)($|
s)" and this way problem will be solved.
Problem ONLY happens, when debug mode is enabled.