stable
Clone or download
Read-only
Cutting to 64 bytes might cut multibyte characters resulting in weird behaviors (at least not behaviors expected by end users). For example the string "Support multibyte characters on new Tuleap installations 🎆 🦄" is 66 bytes long but only has 60 characters. Cutting it to 64 bytes breaks the 🦄 character resulting in a string that cannot be correctly UTF-8 encoded. If you pass such string to a function like htmlentities() that expects to work in a specific encoding, you end up with an empty string. Part of request #12299: Support multibyte characters on new Tuleap installations 🎆 🦄 Change-Id: Id0da616ad8cfbd085314a8318fcbd2268a8b2b43
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/include/Git/Mirror/MirrorPresenter.php | +1 | −1 | Go to diff View file |
M | plugins/git/include/GitPHP/git/Commit.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/Renderer/EditRenderer.class.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/CannedResponse/Tracker_CannedResponseManager.class.php | +2 | −2 | Go to diff View file |