Commit 879ba22
fix: Add type check to prevent DoS via non-string rejoinCode
Validate rejoinCode is a string before calling .includes()
to prevent TypeError crashes from malicious payloads.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 0f39af8 commit 879ba22
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
0 commit comments