summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorjkornobis <jkornobis@linagora.com>2012-10-30 15:08:49 +0100
committerjkornobis <jkornobis@linagora.com>2012-10-30 15:08:49 +0100
commitd2d00c510be0974fe2ec2b8d926cb00b25686083 (patch)
tree2b5b90d5885e2278b61f1da048fe7837b85dd344 /program/include
parent72e7eb826ddb1c2e38b6f727e26170708b5976e0 (diff)
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.
Diffstat (limited to 'program/include')
0 files changed, 0 insertions, 0 deletions