You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(codescanner): strip URLs before scanning to prevent false positives
Twitch URLs (e.g. https://www.twitch.tv/dungeonscrawlers) were being
uppercased and their path segments matched as valid codes. Add a
stripUrls helper that removes http/https URLs prior to code extraction,
applied in both scanMessageForCodes and extractCodesFromText.
Add three new tests covering Twitch username false positives and http URLs.
Signed-off-by: Michael Cramer <michael@bigmichi1.de>
0 commit comments