Commit 3f49100
Build instance name pattern from known_instances
- Changed regex from generic `[-\w._]+` to pattern composed from known instance names
- Prevents false matches like `http:000001` or other invalid patterns
- Pattern is built dynamically: dandi|dandi-staging|dandi-sandbox|...|ember-sandbox
- All existing tests pass, invalid patterns now correctly rejected
Co-authored-by: yarikoptic <[email protected]>1 parent 3f0cc3e commit 3f49100
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
| 576 | + | |
| 577 | + | |
576 | 578 | | |
577 | 579 | | |
578 | 580 | | |
| |||
589 | 591 | | |
590 | 592 | | |
591 | 593 | | |
592 | | - | |
| 594 | + | |
593 | 595 | | |
594 | 596 | | |
595 | 597 | | |
| |||
0 commit comments