[Svn] [roundcube/roundcubemail] 7fac4d: Grancefully handle SSO redirections on Ajax reques...

GitHub noreply at github.com
Fri Nov 16 19:33:21 CET 2012


  Branch: refs/heads/master
  Home:   https://github.com/roundcube/roundcubemail
  Commit: 7fac4dc87b2507227666db9b74d83090f38d62e7
      https://github.com/roundcube/roundcubemail/commit/7fac4dc87b2507227666db9b74d83090f38d62e7
  Author: jkornobis <jkornobis at linagora.com>
  Date:   2012-11-12 (Mon, 12 Nov 2012)

  Changed paths:
    M program/js/app.js

  Log Message:
  -----------
  Grancefully handle SSO redirections on Ajax requests

On some SSO systems, when the SSO session is expired,
the system intercept HTTP requests and send a 302 "Found" HTTP code to the login page.
This patch handle this case in Roundcube Ajax requests, to redirect to the SSO login page.
Note that request.status don't have the 302 code (at least on Firefox), so we have to check the response headers for a Location field and redirect manually.


  Commit: dd759730b0d2e7ac75e2011997e6cb654065590a
      https://github.com/roundcube/roundcubemail/commit/dd759730b0d2e7ac75e2011997e6cb654065590a
  Author: Aleksander Machniak <alec at alec.pl>
  Date:   2012-11-16 (Fri, 16 Nov 2012)

  Changed paths:
    M program/js/app.js

  Log Message:
  -----------
  Merge pull request #45 from linagora/master

Grancefully handle SSO redirections on Ajax requests - V3


Compare: https://github.com/roundcube/roundcubemail/compare/b51eabe2cdc8...dd759730b0d2


More information about the svn mailing list