Uploaded image for project: 'Spring Web Flow'
  1. Spring Web Flow
  2. SWF-1376

Handle missing spring headers for ajax redirect

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 2.2.0.RC1
    • Component/s: JavaScript
    • Labels:
      None

      Description

      Apparently there is firewall software that defaults to filtering HTTP headers it doesn't know about. This breaks redirect-on-post in ajax requests because both Spring-Redirect-URL and Spring-Modal-View would get filtered out.

      The problem is that in these cases Spring.Remoting.handleResponse will just fall through without doing anything or giving an error. It finds no redirect URL and the response body is empty so there is nothing to replace.

      It would be nice if in this case the error handler would be called or any error at all would be shown. Otherwise finding customer's problems with their broken firewall configuration (or even figuring out that there is a firewall problem) is pretty cumbersome.

        Attachments

          Activity

            People

            • Assignee:
              rstoya05-aop Rossen Stoyanchev
              Reporter:
              dtemme Daniel Temme
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: