Skip to content

#303 - Logs list: the context filter also searches the value as encoded in JSON - #304

Merged
njoubert-cleverage merged 2 commits into
mainfrom
303
Nov 6, 2026
Merged

njoubert-cleverage merged 2 commits into
mainfrom
303

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #303:

  • LogTextFilter: on a json property, when the value encoded by json_encode differs, the condition also compares it (OR, AND for the negative comparisons), with ESCAPE '!' to keep the backslashes literal on all the platforms; unchanged for the message and when the value encodes as itself;
  • documentation of the logs list (limits: case of escaped non-ASCII characters on PostgreSQL, MariaDB and SQLite).

Checked locally: highest dependencies (PHP 8.5.12), with pcov coverage: all tests OK, no risky; PHPStan, PHP-CS-Fixer and Rector OK. LogRecordCrudTest also run on PostgreSQL 17, MariaDB 11.4 and MySQL 8.4 (failing before on all of them).

Requirements

  • Documentation updates
    • Reference
    • Cookbooks
    • Changelog
  • Unit tests

Breaking changes

None.

🤖 Generated with Claude Code

…ed in JSON

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@njoubert-cleverage
njoubert-cleverage requested a review from a team as a code owner November 6, 2026 13:15
@njoubert-cleverage
njoubert-cleverage merged commit 6083190 into main Nov 6, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Logs list: the context filter finds nothing for a value with "/", quotes or non-ASCII characters on PostgreSQL, MariaDB and SQLite

1 participant