Confluence Question Plugin Encoding Issue in Question's Title on Environment with SSL and Proxy
Symptoms
When creating question in Confluence Question using special character like Russian (Cyrillic) or other than International alphabet, the title will be encoded wrongly in the Confluence Question editor. This happens when the instance is using SSL and proxy and only happens in Confluence Question not during creating normal page.
Diagnosis
Diagnose the issue following Troubleshoot Character Encoding documentation.
Cause
It's caused by the following:
- Missing
useURIValidationHack
attribute useBodyEncodingForURI
attribute is set totrue
- No Tomcat termination in the connector tag
Resolution
Add the following attribute in the SSL connector and ensure the SSL termination is configured in Tomcat:
useURIValidationHack="false"
useBodyEncodingForURI="false"
className="org.apache.coyote.tomcat4.CoyoteConnector"