Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Commitbd952b9
committed
bug#36497 [Filesystem] Handle paths on different drives (crishoj)
This PR was squashed before being merged into the 3.4 branch.Discussion----------[Filesystem] Handle paths on different drives| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | yes| New feature? | no| Deprecations? | no| License | MIT`makePathRelative` strips and ignores the drive letters given Windows paths on different drives, resulting in a relative path which does not resolve to the desired target.This PR makes `makePathRelative` notice paths on different drives, and return the full (absolute) target path in case instead.Commits-------00e727a [Filesystem] Handle paths on different drivesFile tree
2 files changed
+21
-18
lines changed- src/Symfony/Component/Filesystem
- Tests
2 files changed
+21
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
464 | 462 | | |
465 | 463 | | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
| 464 | + | |
474 | 465 | | |
475 | 466 | | |
476 | | - | |
| 467 | + | |
477 | 468 | | |
478 | 469 | | |
479 | | - | |
| 470 | + | |
480 | 471 | | |
481 | 472 | | |
482 | 473 | | |
483 | 474 | | |
484 | 475 | | |
485 | 476 | | |
486 | 477 | | |
487 | | - | |
488 | | - | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
489 | 488 | | |
490 | 489 | | |
491 | 490 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1111 | 1111 | | |
1112 | 1112 | | |
1113 | 1113 | | |
| 1114 | + | |
1114 | 1115 | | |
1115 | 1116 | | |
1116 | 1117 | | |
1117 | 1118 | | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
1118 | 1122 | | |
1119 | 1123 | | |
1120 | 1124 | | |
| |||
0 commit comments
Comments
(0)