Unable to search knowledge articles for non-latin words in the Customer Portal

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。

問題

After connecting Service Management to Confluence and setting up a knowledge based article, users are able to search for Confluence articles directly in the Customer Portal. Searching for Latin characters work fine but searching for non-Latin characters doesn't work.

For example, Customer Portal will not find any articles with the words тест and δοκιμή

原因

Both useBodyEncodingForURI="true" and URIEncoding="UTF-8" are applied in same connector in the server.xml

These are not meant to be used together as per the explanation in https://tomcat.apache.org/tomcat-7.0-doc/config/http.html for useBodyEncodingForURI

 

Notes: 1) This setting is applied only to the query string of a request. Unlike URIEncoding it does not affect the path portion of a request URI. 2) If request character encoding is not known (is not provided by a browser and is not set by SetCharacterEncodingFilter or a similar filter using Request.setCharacterEncoding method), the default encoding is always "ISO-8859-1". The URIEncoding setting has no effect on this default.

 

 

ソリューション

  1. Remove useBodyEncodingForURI="true" from the server.xml of both Jira and Confluence
  2. Restart both Jira and Confluence

 

最終更新日 2020 年 11 月 23 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.