Commit 8756f3a
Quote Each Path in Both Refusals, So a Space or Comma Cannot Read as a Separator
Both messages joined raw paths with commas, so a single path holding a
comma read as two and one holding a space read ambiguously. That is worst
exactly when the message matters, since it fires on a path the caller did
not expect to be there.
One `quoted` helper serves both, rather than a repr at each site, since the
two messages drifting apart is the smaller version of the problem this PR
is about.
Two cases added, one per message.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent cbb5684 commit 8756f3a
2 files changed
Lines changed: 31 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
202 | 211 | | |
203 | 212 | | |
204 | 213 | | |
| |||
1114 | 1123 | | |
1115 | 1124 | | |
1116 | 1125 | | |
1117 | | - | |
1118 | | - | |
1119 | | - | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
1120 | 1130 | | |
1121 | 1131 | | |
1122 | 1132 | | |
1123 | | - | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
1127 | 1136 | | |
1128 | 1137 | | |
1129 | 1138 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1868 | 1868 | | |
1869 | 1869 | | |
1870 | 1870 | | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
1871 | 1886 | | |
1872 | 1887 | | |
1873 | 1888 | | |
| |||
0 commit comments