Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

User descriptions added after an event keep the email address when private information removal is on

オープン 初心者向け
#2,693 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp, redis

調査の方向性

src/Exceptionless.Web/Api/Handlers/EventHandler.cs の EventHandler.Handle(SetEventUserDescription) を読み、src/Exceptionless.Core/Plugins/EventProcessor/Default/90_RemovePrivateInformationPlugin.cs の RemovePrivateInformationPlugin と比較してください。プロジェクト設定がキューに登録された説明にどのように届くかを追跡し、個人情報の削除を無効にした状態で、説明が遅れて届く経路のテストを追加してください。キューのジョブが説明を処理した後にメールアドレスが省略されれば完了です。

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

説明

bug

When a project has Automatically remove user identifiable information turned on, the event pipeline clears the email address from a user description sent with the event. A description added later through the user-description endpoint skips that step and is saved with the email address as submitted.

Where

Steps to reproduce

  1. In a project, turn on Automatically remove user identifiable information.
  2. Submit an event with a reference id, e.g. "reference_id": "abc123", and no user description.
  3. POST /api/v2/events/by-ref/abc123/user-description with {"email_address": "[email protected]", "description": "It crashed"}.
  4. After the user-descriptions job runs, open the event. The user description shows [email protected].

Submitting the same description inside the event in step 2 stores it without the email.

Expected

The email address is dropped from late user descriptions the same way it is for descriptions sent with the event.

Suggested fix

In EventHandler.Handle(SetEventUserDescription), where the project is already loaded, set EmailAddress to null before queuing when project.Configuration.Settings.GetBoolean(SettingsDictionary.KnownKeys.IncludePrivateInformation, true) is false. Dropping it before it reaches the queue also keeps it out of Redis. Alternatively, load the project in the job and apply the same check there. Add a test for the late-description path with the setting turned off.

主要言語
C#
スター
2.5k
フォーク
508
平均マージ
2日 17時間
マージ済み PR(30日)
40

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

exceptionless/Exceptionless のほかの issue

exceptionless/Exceptionless の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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