--- ./app/bootstrap.php	2024-06-19 12:28:12
+++ ./app/bootstrap.php	2024-06-19 12:37:37
@@ -4,6 +4,13 @@
  * See COPYING.txt for license details.
  */

+// CosmicString emergency patch, see https://sansec.io/research/cosmicsting
+if (strpos(file_get_contents('php://input'), 'dataIsURL') !== false) {
+    header('HTTP/1.1 503 Service Temporarily Unavailable');
+    header('Status: 503 Service Temporarily Unavailable');
+    exit;
+}
+
 /**
  * Environment initialization
  */
