Commit 015d1db
committed
test(agents): cover C1 control chars in buildProviderReauthCommand
Add a focused regression case asserting that a provider id containing any
C1 byte (0x80-0x9f), including the U+009B CSI introducer, is rejected so no
reauthentication command with an embedded C1 escape is rendered, while a
clean provider id still produces the expected command.
Signed-off-by: lsr911 <[email protected]>1 parent 6e43dd4 commit 015d1db
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1436 | 1436 | | |
1437 | 1437 | | |
1438 | 1438 | | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
1439 | 1454 | | |
1440 | 1455 | | |
1441 | 1456 | | |
| |||
0 commit comments