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

Don't allow adding of files from outside the repository directory hierarchy #10

Open
enlight opened this issue Jun 5, 2014 · 0 comments
Assignees
Milestone

Comments

@enlight
Copy link
Owner

enlight commented Jun 5, 2014

Attempting to add a file that's not within the repository directory hierarchy will fail with an error anyway, but the user shouldn't be allowed to even make that mistake in the first place. Update FFileState::CanAdd() to check for this.

@enlight enlight added this to the v0.4 milestone Jun 5, 2014
@enlight enlight self-assigned this Jun 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant