MantisBT: master fcb28a78

Author Committer Branch Timestamp Parent
dregad dregad master 2023-04-12 13:34 master 47a44b35
Affected Issues  0032385: Incorrect use of mb_strimwidth() to truncate old/new values in history API
Changeset

Use new string_truncate() instead of mb_strimwidth()

This ensures that History API trunctates old_value and new_value to the
expected 255 chars even when full-width CJK symbols are used.

Fixes 0032385

mod - core/history_api.php Diff File