Exclude password field text from breadcrumbs

オープン
#5,814 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp
領域
backend

調査の方向性

The report says password Entry text appears in Focused/Unfocused breadcrumbs when IncludeTextInBreadcrumbs is enabled, but it does not name the implementation or tests. Find where Entry text is added to those breadcrumbs and check the existing breadcrumb tests. Done means password entries are skipped while ordinary text breadcrumbs continue to work.

索引モデルが issue の本文から書いたものです。

説明

Bug State: Needs Discussion

Hi, I would like to pick this up if nobody is working on it :)

For the name I'd suggest IncludeButtonTextInBreadcrumbs. It follows IncludeTextInBreadcrumbs and IncludeTitleInBreadcrumbs, and can be set from appsettings same as them. Default would be false like the other ones. It would cover Button and its subclasses (ImageButton has no text and RadioButton doesn't implement IText). The data key stays Button.Text, so for people who already use IncludeTextInBreadcrumbs nothing changes.

One more thing I noticed in the code. With IncludeTextInBreadcrumbs on, an Entry with IsPassword = true also gets its text into the Focused/Unfocused breadcrumbs, so after typing the password ends up there. Maybe password entries should be always skipped. I can do it in separate small PR if you want

Does the name work for you? I can also update the MAUI options page in sentry-docs after the PR

Originally posted by @Empiree in #3130

主要言語
C#
スター
775
フォーク
262
平均マージ
1日 16時間
マージ済み PR(30日)
118

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/sentry-dotnet のほかの issue

getsentry/sentry-dotnet の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。