diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-03-05 16:41:25 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2019-03-06 13:46:51 +0000 |
commit | 5d152fc54f84de764336c420d58a5d08db7a42fa (patch) | |
tree | e490bb33db57039f1df79f4e1fcb6836f72b7595 /CHANGELOG.md | |
parent | 1e67b3fea57ee8560d0741c96bc5702c90980dad (diff) |
Make sure raw RABX column is utf8-encoded.
Without doing this, a call to e.g. $contact->set_extra_fields(@meta)
in PopulateServiceList.pm, with an unchanged meta that contains some
Unicode values, can write to the database (and cause an unneeded row
in the history table), because the column from the database is UTF-8
decoded, whilst the new text is UTF-8 encoded.
It looks like an attempt was made in filter_from_storage to fix this
issue, but the column comparison for marking a column as dirty takes
place without this being called.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b67c782f..595768272 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ - Add space below "map page" contents on narrow screens. - Use relative report links where possible. #1995 - Improve inline checkbox spacing. #2411 + - Prevent duplicate contact history creation with Unicode data. - Development improvements: - Make front page cache time configurable. - Better working of /fakemapit/ under https. |