Log completely unusable when an entry has corrupt serialized data (D7)
If an entry in the dblog has corrupt serialized data, the dblog page (/admin/reports/dblog) will throw an exception and will not load.If unserialize fails, then a boolean is sent to t() leading to a...
View ArticleWarning: gzinflate(): data error in drupal_serve_page_from_cache() (line 1617...
Problem/MotivationFor Drupal web services returning an empty page body with HTTP headers, a PHP warning is triggered on every request: Warning: gzinflate(): data error in drupal_serve_page_from_cache()...
View ArticleUrl class generates duplicate query arguments in some situations
Generating a URL with query string parameters that are numeric results in duplicated items in the query string.Add the following code to a THEMENAME_preprocess_node() function: $query['foo'][] = 'bar';...
View ArticlePHP 7.4 notice for /modules/system/system.admin.inc
Problem/MotivationNotice: Trying to access array offset on value of type bool in system_modules() (line 889 of /modules/system/system.admin.inc).Drupal 7.73 Nginx 1.19.4 PHP 7.4.11
View ArticleAvailable Twig tokens in Header, Footer, No results behavior not displayed
When Use replacement tokens from the first row is selected in Configure Header: Global: Text area (or in Configure Footer or in Configure No results behavior since they appear to use the same code),...
View ArticleHide the "Only For Testing" package by default on the modules admin...
Problem/MotivationThere are a couple of test modules in D7 that cannot be hidden.Some were added in #3255068: [D7 PHP 8.1] system_modules(): Deprecated function: str_replace(): Passing null to...
View ArticleBackport Make core aware of Nginx and PHP-FPM to D7
Problem/MotivationThis is a D7 backport of the #1559116: Make core aware of Nginx and PHP-FPM to avoid confusing alertsSee the full history in the parent issue.Steps to reproduceProposed...
View ArticleD7 backport: Fix htaccess files for PHP 8
Backport the PHP 8 changes to the .htaccess files Drupal generates from #3186524: Fix htaccess files for PHP 8
View ArticleChange the method Drupal\Core\DrupalKernel::handle() to make it work for the...
Problem/MotivationThe method Drupal\Core\DrupalKernel::handle() does more then only handle the user request. When Drupal is run with Apache or NginX this is not a problem. The Swoole module boot Drupal...
View ArticleCron CSRF vulnerability
Note: this issue has been reviewed by the Drupal security team and it was decided that this can be handled as public security improvement.Problem/MotivationIn Drupal 7 and 8 cron is vulnerable to CSRF...
View ArticleBackport DatabaseSchema_pgsql::queryTableInformation() improvements
Problem/MotivationImprove pgsql driver performance with optimizations from #1079762: DatabaseSchema_pgsql::queryTableInformation() is slow. See the parent issue for more details.Proposed...
View ArticleEditing a comment still changes creation date
Whenever a comment is edited, the "created" timestamp still gets changed in two ways:a) admin edit While #1005004: Editing a comment destroys its creation date makes sure it isn't completely...
View ArticleReplace REQUEST_TIME in plugins and classes with direct container access
Problem/Motivationcore/modules/aggregator/src/Controller/AggregatorController.php core/modules/content_translation/src/Controller/ContentTranslationController.php...
View ArticleMove views-element-container to twig template
Problem/MotivationViews module is adding an extra <div> element for no apparent reason when rendering a view block or EVA attachment. As if having the wrapper from both the block and views-view...
View ArticleDatabase::tableExists optimization for PostgreSQL
Database::tableExists appears to be called repeatedly during normal use of a Drupal site. In PostgreSQL, this is implemented by querying the information_schema.tables view, which in our PostgreSQL 9.2...
View Articlefopen() error in stream_wrappers.inc on PHP 8
Problem/MotivationUpon update to php 8, the site started throwing an error on line 408. I'm sure this is related to PHP 8 not being very happy about potential null values. The following change stopped...
View ArticleMove QuickEditImageController from image to quickedit
Problem/Motivation#3227033: [PP-3] Remove quickedit from core is trying to remove quickedit from core. Before we can do that, we need all of its parts moved under the quickedit module, instead of...
View Article[META] Make Drupal 7 core compatible with PHP 8.1
Problem/MotivationSeems like some quite significant changes have been encountered in #3220021: [meta] Ensure compatibility of Drupal 9 with PHP 8.1 (as it evolves).Steps to reproduceTry testing D7 core...
View ArticleDisable Big Pipe cause 500 error
Hello, On a D9.3.13 website, I can't disable big pipe module without getting 500 error on pages only I'm connected. Anonymous doesn't seem to be affected.Are you aware of this ? What the way to disable...
View ArticleQuery string duplications
Problem/MotivationChecking D7 Link #2333119: Output broken when using array parameters in query on D8 there are some issues with array query parameters.- '?a[]=0&b[]=0&b[]=1' -...
View Article