Steps to reproduce:
- php -S localhost:8080
- open https://localhost:8080
- Click the button
- Chrome crashes
| # /etc/modsecurity/local.conf | |
| <LocationMatch "/"> | |
| SecRuleRemoveById 933210 | |
| </LocationMatch> | |
| <LocationMatch "/wp-admin"> | |
| SecRuleRemoveById 200004 | |
| </LocationMatch> |
Steps to reproduce:
| diff --git a/public/system/modules/core/drivers/DC_Table.php b/public/system/modules/core/drivers/DC_Table.php | |
| index 5f099f9..520d326 100644 | |
| --- a/public/system/modules/core/drivers/DC_Table.php | |
| +++ b/public/system/modules/core/drivers/DC_Table.php | |
| @@ -5459,7 +5459,7 @@ class DC_Table extends \DataContainer implements \listable, \editable | |
| $arrProcedure[] = "id IN(" . implode(',', array_map('\intval', $GLOBALS['TL_DCA'][$table]['list']['sorting']['root'])) . ")"; | |
| } | |
| - $objFields = $this->Database->prepare("SELECT DISTINCT " . $what . " FROM " . $this->strTable . ((is_array($arrProcedure) && strlen($arrProcedure[0])) ? ' WHERE ' . implode(' AND ', $arrProcedure) : '')) | |
| + $objFields = $this->Database->prepare("SELECT DISTINCT " . \Database::quoteIdentifier($what) . " FROM " . $this->strTable . ((is_array($arrProcedure) && strlen($arrProcedure[0])) ? ' WHERE ' . implode(' AND ', $arrProcedure) : '')) |
| <?php | |
| use Symfony\Component\Console\Question\ChoiceQuestion; | |
| class RoboFile extends \Robo\Tasks | |
| { | |
| const VERSION_FILE = '.boilerplate-template-version'; | |
| var $currentGitVersion = null; |
| # user ID = 99 (if the ID is longer, adapat the s:2 part to the length | |
| select FROM_UNIXTIME(session_expires), FROM_BASE64(session_data) as sd | |
| from session | |
| having sd like "%customer_id"";s:2:""99""%" | |
| order by session_expires desc; |
| // Startup: n98-magerun2 dev:console | |
| // Dump a product's data by SKU | |
| $sku = "thisIsTheSKU"; $di->get('Magento\Catalog\Model\ProductRepository')->get($sku)->debug(); |
| { | |
| "name": "contao/managed-edition", | |
| "type": "project", | |
| "description": "Contao Open Source CMS", | |
| "license": "LGPL-3.0-or-later", | |
| "authors": [ | |
| { | |
| "name": "Leo Feyer", | |
| "homepage": "https://github.com/leofeyer" | |
| } |
| // /** | |
| // * DISCLAIMER | |
| // * | |
| // * Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer | |
| // * versions in the future. | |
| // * | |
| // * | |
| // * $category Smile | |
| // * $package Smile\ElasticsuiteCatalog | |
| // * $author Aurelien FOUCRET <aurelien.foucret$smile@mixin fr> |
| { | |
| "_readme": [ | |
| "This file locks the dependencies of your project to a known state", | |
| "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", | |
| "This file is @generated automatically" | |
| ], | |
| "content-hash": "426e9bfece9007e8492824a8ad404e85", | |
| "packages": [ | |
| { | |
| "name": "dnoegel/php-xdg-base-dir", |