Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix relative path finding #4

Merged
merged 1 commit into from
Nov 12, 2021
Merged

Fix relative path finding #4

merged 1 commit into from
Nov 12, 2021

Conversation

fd6130
Copy link
Owner

@fd6130 fd6130 commented Nov 12, 2021

If $this->localProjectDir = '/app' and $absolutePath = '/app/web/app_dev.php' then $relativePath = '/web_dev.php' and validatePathIsRelativeToProject throws InvalidConfigurationException.
As I understand it should remove absolute paths dir

EasyCorp#23

@fd6130 fd6130 merged commit 6ce1264 into 1.1 Nov 12, 2021
@fd6130 fd6130 deleted the patch1 branch November 12, 2021 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant