View Issue Details

IDProjectCategoryView StatusLast Update
0001441test.cacert.orgtest.cacert.orgpublic2018-06-22 13:04
ReporterGuKKDevelAssigned Towytze 
PriorityimmediateSeverityblockReproducibilityalways
Status solved?Resolutionfixed 
PlatformTest CAcert WebsiteOSN/AOS VersionTest
Summary0001441: umlauts are not stored/displayed correctly in Testsystem
DescriptionEnter a name with an umlaut into https://test.cacert.org/index.php?id=1.

after verifying with test-mgr login and view accounts data.

umlaut is dissappeared and some other chars are shown.

therefore if transferred to original, no CAP-verification is possible, gpg-signing is not possible.
Steps To ReproduceEnter a name with an umlaut into https://test.cacert.org/index.php?id=1.

after verifying with test-mgr login and view accounts data.

umlaut is dissappeared and some other chars are shown.
Tagsbrowser, certificates, diacritic, legal name, names, organization name, PGP, server certificates

Activities

dastrath

2018-06-19 18:32

administrator   ~0005601

moved issue to project "test.cacert.org" as it not infrastructure-related

dastrath

2018-06-19 19:29

administrator   ~0005602

This issue happens in productive system, too:

Created a user with umlauts to my own domain, did NOT click on the confirmation link, but checked this user via support console: Umlauts are "broken".

wytze

2018-06-22 13:04

developer   ~0005606

A bug was found in the PHP5 configuration of the CAcert webdb server as
described in https://bugs.cacert.org/view.php?id=1441: "umlauts are not
stored/displayed correctly". This bug actually affects all handling of
non-latin characters by the CAcert application code, and was introduced
by the upgrade of the CAcert chroot application environment from Debian
Wheezy to Debian Jessie on April 16, 2018.

Starting with PHP 5.6, PHP's default character set is set to UTF-8.
This is not what the current CAcert application code expects, so we
need to overrule it with the earlier default "iso-8859-1".
Note that Debian Wheezy contained PHP 5.4.45, while Debian Jessie
contains PHP 5.6.33.

Affected files:
   /home/cacert/etc/php5/mods-available/cacert.ini
   /etc/php5/mods-available/cacert.ini
   /root/chroot/mkchrootenv (also in SVN)

The same changes have been applied to the test.cacert.org and test2.cacert.org
test servers.

Note that new accounts created between April 16, 2018 and June 22, 2018,
may have been affected by this issue. This will be reported as an incident
to support@cacert.org for arbitration and possible further investigation.

See also https://lists.cacert.org/wws/arc/cacert-systemlog/2018-06/msg00002.html

Issue History

Date Modified Username Field Change
2018-06-19 11:28 GuKKDevel New Issue
2018-06-19 11:28 GuKKDevel Assigned To => jandd
2018-06-19 11:28 GuKKDevel Tag Attached: browser
2018-06-19 11:28 GuKKDevel Tag Attached: certificates
2018-06-19 11:28 GuKKDevel Tag Attached: diacritic
2018-06-19 11:28 GuKKDevel Tag Attached: legal name
2018-06-19 11:28 GuKKDevel Tag Attached: names
2018-06-19 11:28 GuKKDevel Tag Attached: organization name
2018-06-19 11:28 GuKKDevel Tag Attached: PGP
2018-06-19 11:28 GuKKDevel Tag Attached: server certificates
2018-06-19 11:34 GuKKDevel Assigned To jandd =>
2018-06-19 11:34 GuKKDevel Assigned To => GuKKDevel
2018-06-19 11:34 GuKKDevel Assigned To GuKKDevel => dastrath
2018-06-19 18:11 dastrath Category general => cacert1.it-sls.de
2018-06-19 18:12 dastrath Category cacert1.it-sls.de => test.cacert.org
2018-06-19 18:32 dastrath Note Added: 0005601
2018-06-19 19:29 dastrath Note Added: 0005602
2018-06-19 19:30 dastrath Assigned To dastrath => GuKKDevel
2018-06-22 13:04 wytze Assigned To GuKKDevel => wytze
2018-06-22 13:04 wytze Status new => solved?
2018-06-22 13:04 wytze Resolution open => fixed
2018-06-22 13:04 wytze Note Added: 0005606