summarylogtreecommitdiffstats
path: root/error_Valid_CSRF_Token_Required.patch
diff options
context:
space:
mode:
Diffstat (limited to 'error_Valid_CSRF_Token_Required.patch')
-rw-r--r--error_Valid_CSRF_Token_Required.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/error_Valid_CSRF_Token_Required.patch b/error_Valid_CSRF_Token_Required.patch
new file mode 100644
index 00000000000..faa691def0b
--- /dev/null
+++ b/error_Valid_CSRF_Token_Required.patch
@@ -0,0 +1,12 @@
+diff -ura upload/include/class.ostsession.php upload/include/class.ostsession.php
+--- upload/include/class.ostsession.php 2019-01-27 19:01:42.000000000 +1100
++++ upload/include/class.ostsession.php 2019-01-27 19:14:41.000000000 +1100
+@@ -190,6 +190,7 @@
+ }
+ catch (DoesNotExist $e) {
+ $this->data = new SessionData(['session_id' => $id]);
++ $this->data->session_data = "";
+ }
+ catch (OrmException $e) {
+ return false;
+