MarkdownReader.ToNfd throws ArgumentException on U+FFFE when NormalizeText is on

Aperta
#155 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
66/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp
Ambito
backend

Direzione di ricerca

Start at MarkdownReader.cs:909 and trace how NormalizeText handles U+FFFE from Markdown input and record bodies. Add a fuzz case for the noncharacter and check that the reader reports a finding without throwing; done means both the note and raw record body cases are handled.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

MarkdownReader.ToNfd (MarkdownReader.cs:909, on main) throws ArgumentException on a noncharacter such as U+FFFE when NormalizeText is on. Reachable from FieldWorks Markdown input and, through the record reader, from note: "a\uFFFEb" or a raw U+FFFE in a record body. The reader must never throw: keep the noncharacter (or replace it) and report a finding. Add a fuzz case. Found in the re-review of PR #147 (H:\work\gdr-design-20261102\reports\te-review-record-frame.md).

Lingua principale
C#
Stelle
0
Fork
0
Merge medio
1h 43m
PR unite (30g)
43

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sillsdev/SIL.TextEditing

Tutte le issue di sillsdev/SIL.TextEditing

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.