Configure Gravatar URLs in Bitbucket

お困りですか?

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

コミュニティに質問

プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。

このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

Per BSERV-3112 - Change Gravatar server URL, it is now possible to configure Gravatar URLs in Bitbucket Server, this can be set in the bitbucket.properties file. The following properties are responsible for this:

  • avatar.url.format.http
  • avatar.url.format.https

The following format parameters are available for the above mentioned properties:

  • %1$s -> The user's e-mail address, MD5 hashed, or "00000000000000000000000000000000" if the user has no e-mail.
  • %2$d -> The requested avatar size.
  • %3$s -> The fallback URL, URL-encoded, which may be defined using "avatar.url.default".
  • %4$s -> The user's e-mail address, not hashed, or an empty string if the user has no e-mail.

So the above parameters can be specified in bitbucket.properties following these examples:

avatar.url.format.http=http://www.gravatar.com/avatar/%1$s.jpg?s=%2$d&d=%3$s
avatar.url.format.https=https://secure.gravatar.com/avatar/%1$s.jpg?s=%2$d&d=%3$s

Disable Gravatar Support:

  1. Click the  icon in the Bitbucket header.
  2. Click Avatars.
  3. Unselect "Enable Gravatar support"
  4. 保存します。

If you need to audit this value outside of the UI, you can use this SQL to confirm Gravatr is disabled.  This should return "disabled":

SELECT * 
FROM   app_property 
WHERE  prop_key = 'avatar.source'; 

最終更新日: 2025 年 1 月 28 日

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

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