DamienHarper / auditor

auditor, the missing audit log library
MIT License
164 stars 53 forks source link

Json column is double encoded #119

Closed dmitryuk closed 2 years ago

dmitryuk commented 2 years ago
Q A
auditor version 2.0.5
PHP version 8.1.0
Database MySQL / PostgreSQL / SQLite / Other

Summary

Json diffs are encoded twice. At the end it doesn't show correctly in viewer image

Current behavior

Message in viewer encoded twice

"\u041f\u0420\u0418\u041c\u0415\u0420"

How to reproduce

Expected behavior

I see ПРИМЕР in viewer

DamienHarper commented 2 years ago

@dmitryuk good point, thank you for the relevant PR!

dmitryuk commented 2 years ago

@DamienHarper very pleasant if you will add a new patch tag, because I need to close my task

DamienHarper commented 2 years ago

@dmitryuk here you are, 2.1.1 is released