Error 500 at Save (on virtualHost Rules), when the displayName of one Category Portal Menu contains accentuated Character
1st : i define a category portal menu, with :
- key : Applications
- display name : "Accès à mes applications"
2st: i go to Virtual Host Rules, and click to Save Button
I get a "Request failed - Error code: 500, Internal Server Error" in the command result popup.
In Apache error log file, 3 new lines : [Fri Oct 16 10:35:55 2015] [error] [client 172.xxx.xxx.xxx] DBD::Pg::st execute failed: ERREUR: s\xc3\xa9quence d'octets invalide pour l'encodage \xc2\xab UTF8 \xc2\xbb : 0xe87320, referer: http://xxxxxx/ [Fri Oct 16 10:35:55 2015] [error] [client 172.xxx.xxx.xxx] DBD::Pg::st execute failed: ERREUR: s\xc3\xa9quence d'octets invalide pour l'encodage \xc2\xab UTF8 \xc2\xbb : 0xe87320, referer: http://xxxxxx/ [Fri Oct 16 10:35:55 2015] [error] [client 172.xxx.xxx.xxx] Premature end of script headers: index.pl, referer: http://xxxxxx/
1st Workaround :
- Always uses "Save" Button of Category Portal Menu
- Use HTML encoded accentuated Characters, in display Name (eg : Accaccès mes applications in my case)