Verifying CORS requests way earlier
authorAlexander Ebert <ebert@woltlab.com>
Thu, 15 Dec 2016 10:00:44 +0000 (11:00 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 15 Dec 2016 10:00:44 +0000 (11:00 +0100)
commit61dce6a4fc5ec1215c260d3eba3a28454f1eb4df
tree430b00a17a15df402480de01092bae2badfface9
parentddf933121c40a74b9ef68f80de1d786a2b17b57d
Verifying CORS requests way earlier

Especially `OPTIONS` does not require anything else and we can bail out
safely. Also avoids spawning useless sessions.
wcfsetup/install/files/lib/system/WCF.class.php