diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-03-22 16:55:43 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-03-22 16:55:43 +0100 |
commit | 6ed8acb15d4d2eb6178ba552a6cae92e548f6641 (patch) | |
tree | 609d456e5008607fcd740ab810005e0315033dc8 /core | |
parent | ad1167a44d4196b751766c9b05517640be6d2f10 (diff) | |
download | nextcloud-server-6ed8acb15d4d2eb6178ba552a6cae92e548f6641.tar.gz nextcloud-server-6ed8acb15d4d2eb6178ba552a6cae92e548f6641.zip |
Firefox returns 303 on cross-domain redirect
Added 303 to catch SSO cross-domain redirect in Firefox.
Diffstat (limited to 'core')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index 584bf1c1c83..1a3b532ed4c 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -747,7 +747,7 @@ var OC={ return; } - if (_.contains([0, 302, 307, 401], xhr.status)) { + if (_.contains([0, 302, 303, 307, 401], xhr.status)) { OC.reload(); } }, |