summarylogtreecommitdiffstats
path: root/error_Valid_CSRF_Token_Required.patch
diff options
context:
space:
mode:
authorLuis Aranguren2019-01-27 20:11:02 +1100
committerLuis Aranguren2019-01-27 20:11:02 +1100
commit070caa822ce329d1bf697830f00f59751b111fc5 (patch)
treead61138fac2d2c06aed276062740fee3d7cb6a2d /error_Valid_CSRF_Token_Required.patch
parentaac0fce021d7154f437e72fddd4f5ffdeb0356fa (diff)
downloadaur-070caa822ce329d1bf697830f00f59751b111fc5.tar.gz
patch for error_Valid_CSRF_Token_Required
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;
+