Commit a659fe7
committed
test(audit): pin every control-suffix spelling of a secret name
The name pre-filter strips all of C0 plus DEL before re-testing, but only
the trailing-LF spelling was covered. Reading the class was no help while it
was written with literal bytes, so the behaviour was effectively unpinned in
both directions.
Each boundary spelling now has a case — LF, CR, DEL, NUL — and narrowing the
strip to LF alone turns the CR and DEL cases red, so the class cannot be
quietly narrowed again.1 parent 2683a39 commit a659fe7
1 file changed
Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1119 | 1119 | | |
1120 | 1120 | | |
1121 | 1121 | | |
1122 | | - | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
1123 | 1128 | | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
1127 | 1135 | | |
1128 | 1136 | | |
1129 | 1137 | | |
1130 | 1138 | | |
1131 | 1139 | | |
1132 | 1140 | | |
1133 | | - | |
1134 | | - | |
1135 | | - | |
1136 | | - | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
1137 | 1145 | | |
1138 | 1146 | | |
1139 | 1147 | | |
| |||
0 commit comments