Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-740

Redirects during AJAX requests in debug mode are not processed

    XMLWordPrintable

    Details

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: