Commit 22951d9
fix: catch ArgumentException from Path.IsPathRooted in IsLocalServerPath (#746)
Path.IsPathRooted throws ArgumentException when the package source is a
remote URL containing characters illegal in file paths. Catch the
exception and return false since remote URLs are not local paths.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent a88e9e2 commit 22951d9
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
452 | | - | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
453 | 463 | | |
454 | 464 | | |
455 | 465 | | |
| |||
0 commit comments