Anonymous | Login | Signup for a new account | 2024-04-26 09:46 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
View Revisions: Issue #922 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0000922: Redirects during AJAX requests in debug mode are not processed | ||
Revision | 2010-11-13 16:11:35 by Dmitry | ||
Description | 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. |
||
Revision | 2010-11-13 12:48:06 by Dmitry | ||
Description | 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 on happens, when debug mode is enabled. |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |