Hi,
I encounter a problem with users who have latin chars in their name:
Users are first imported from LDAP with the good encoding. Then when the user login in the portal, the name is updated with a bad encoding.
Exemple user “testç” become “testç” as you can see in the debug log:
[1950502] [Mon May 15 11:24:49 2023] [debug]: Found one matching record (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth/LDAP.pm:490)
[1950502] [Mon May 15 11:24:49 2023] [info]: RT::User::CanonicalizeUserInfoFromExternalAuth returning Address1: , City: , Country: , EmailAddress: Test@mycorp.org, Name: test, RealName: testç, State: , WorkPhone: , Zip: (/opt/rt5/sbin/…/lib/RT/User.pm:981)
[1950502] [Mon May 15 11:24:49 2023] [debug]: UPDATED user test: User test: RealName changed from ‘testç’ to ‘testç’ (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth.pm:612)
[1950502] [Mon May 15 11:24:49 2023] [debug]: UPDATED user ( test ) from External Service (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth.pm:619)
Any idea from what it can come?
My database is postgresql with UTF8 encoding, and my apache vhost is bellow:
<VirtualHost *:80>
ServerName rt.mycorp.org
ServerAlias rt.mycorp.org
Redirect permanent / https://rt.mycorp.org
<VirtualHost :443>
SetEnvIf Authorization "(.)" HTTP_AUTHORIZATION=$1
ServerName rt.mycorp.org
ServerAlias rt.mycorp.org
SSLEngine on
SSLCertificateFile /etc/apache2/sslcert/rt.mycorp.org.crt
SSLCertificateKeyFile /etc/apache2/sslcert/rt.mycorp.org.key
AddDefaultCharset UTF-8
ScriptAlias / /opt/rt5/sbin/rt-server.fcgi/
DocumentRoot "/opt/rt5/share/html"
<Location />
Require all granted
Options +ExecCGI
AddHandler fcgid-script fcgi
</Location>
ErrorLog ${APACHE_LOG_DIR}/rt5_error.log
CustomLog ${APACHE_LOG_DIR}/rt5_access.log combined
Kind regards,