Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Filesystem] Fix mirroring a directory into itself or in his child with realpath checks#30116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
12c07b8 to55e8d21CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
fe32a0a to785dc05Comparef80d827 toa3efb95CompareXuruDragon commentedMar 13, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Add handle for relative paths. CI build fails not related |
e174f37 to5256eaaCompareXuruDragon commentedMar 14, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Added a bypass for symlink mirror tests on windows CI build fails not related |
fabpot commentedMar 24, 2019
I think this PR does not qualify for being a bug fix but rather as a new feature. |
XuruDragon commentedMar 26, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Hi@fabpot , did you really think this PR should be qualify as a new feature ? Since the behavior of Indeed, adding absolute path management to |
fabpot commentedMar 27, 2019
I still think this is a new feature as the use case itself was not supported at all. |
XuruDragon commentedMar 27, 2019
Ok So I'll rebase this branch on master and change de PR. |
5256eaa todd2d409Compare…path name is equal to the target pathAdded a new test what is called testMirrorAvoidCopyingTargetDirectoryIfInSourceDirectoryAdjustments to comply with the Symfony Code Standards
dd2d409 tob312b7cCompareb312b7c to8011f49CompareXuruDragon commentedMar 27, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@fabpot as you asked for, I've rebase this PR on master and qualify it as a new feature. |
fabpot commentedMar 31, 2019
Thank you@XuruDragon. |
…in his child with realpath checks (Fleuv, XuruDragon)This PR was merged into the 4.3-dev branch.Discussion----------[Filesystem] Fix mirroring a directory into itself or in his child with realpath checks| Q | A| ------------- | ---| Branch? | master| Bug fix? | yes| New feature? | yes| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | none / PR#29857| License | MIT| Doc PR | n/aThis this the continuity of#29857 by@FleuvFix a bug while trying to mirror a directory into itself or in a childAdding handle real path checks when mirroring.Commits-------8011f49 Handling relative/absolute path59437a4 Skipping iterations in the mirror() method where the iterated file's path name is equal to the target path
Uh oh!
There was an error while loading.Please reload this page.
This this the continuity of#29857 by@Fleuv
Fix a bug while trying to mirror a directory into itself or in a child
Adding handle real path checks when mirroring.