Bidirectional characters warning in Atlassian products

アトラシアン ナレッジベース

このページの内容

お困りですか?

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

コミュニティに質問

問題

The following message is displayed when hovering over highlighted unicode characters in Atlassian products including Bitbucket, Jira, Confluence, and others.

Bidirectional characters change the order that text is rendered. 
This could be used to obscure malicious code.

Here's an example of the message appearing in a code block in Confluence Data Center.

In mobile apps and mobile web views, the characters are displayed and highlighted, without the tooltip. 

原因

Unicode bidirectional override characters are used to specify the order that characters should be displayed, for example to support right-to-left languages. These special characters are typically not displayed in the browser or code editors, but can affect the meaning of the source code when it is processed by a compiler or an interpreter. For this reason we display and highlight bidirectional characters so you can identify them in your code, or code snippets.

For more information see: 

ソリューション

If you encounter bidirectional characters in a pull request, code snippet, or code block, we recommend you take some time to understand what the characters are doing, and how the code will be interpreted when executed.

You can learn more about these characters in the unicode specification.


説明 Bidirectional character warning displayed on highlighted unicode characters in Atlassian products
製品Confluence, Jira, Bitbucket, Trello, Fisheye, Crucible, Bamboo

最終更新日: 2021 年 10 月 31 日

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

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