CORS is just plain lame
authorAlexander Ebert <ebert@woltlab.com>
Thu, 15 Dec 2016 03:23:54 +0000 (04:23 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 15 Dec 2016 03:23:54 +0000 (04:23 +0100)
wcfsetup/install/files/js/WCF.js

index 74cddd02af11a99198ac7d9bc01151821a43c08b..e4165e112dab5d5c36e9bb8dda87c37a9a4fcade 100755 (executable)
@@ -5910,6 +5910,9 @@ WCF.Upload = Class.extend({
                                                }, false);
                                        }
                                        return $xhr;
+                               },
+                               xhrFields: {
+                                       withCredentials: true
                                }
                        });
                }