mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-05-06 13:19:31 -05:00
The SPECIAL branch of validatedAnyWeaponFromSearchParams only checked nonDamagingSpecialWeaponIds membership, not whether the parsed id was actually a valid SpecialWeaponId. A malformed URL like ?weapon=SPECIAL_9ap=0... made Number() return NaN, which fell through to exampleMainWeaponIdWithSpecialWeaponId and hit assertUnreachable. |
||
|---|---|---|
| .. | ||
| components | ||
| core | ||
| routes | ||
| analyzer-constants.ts | ||
| analyzer-hooks.ts | ||
| analyzer-types.ts | ||