summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-03-22 16:55:43 +0100
committerVincent Petry <pvince81@owncloud.com>2016-03-22 16:55:43 +0100
commit6ed8acb15d4d2eb6178ba552a6cae92e548f6641 (patch)
tree609d456e5008607fcd740ab810005e0315033dc8 /core
parentad1167a44d4196b751766c9b05517640be6d2f10 (diff)
downloadnextcloud-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.js2
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();
}
},