Commit 1ac3e0f
fix(buffers): slugify db name for buffer matching and generation
Database names with spaces (or other special characters) caused buffer
recovery and custom buffer name generation to fail because the raw name
was used in regex matching and path construction, while buffer filenames
are generated via slug(). Since slug() is identity for names without
special characters, this change has no effect on existing users.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 07e92e2 commit 1ac3e0f
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments