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 for upload_tmp_dir test #20

Merged
merged 1 commit into from Jun 19, 2019
Merged

Conversation

wolfgang42
Copy link
Contributor

Previously, it was checking for any path which contained the string "/tmp", which meant that paths like "/srv/piwik/tmp_upload" were marked as insecure. This change makes it so that the path is only considered insecure if it begins with /tmp (that is, the shared temp directory).

Previously, it was checking for any path which contained the string "/tmp",
which meant that paths like "/srv/piwik/tmp_upload" were marked as insecure.
This change makes it so that the path is only considered insecure if it
*begins* with `/tmp` (that is, the shared temp directory).
@mattab mattab added this to the Current sprint milestone Feb 18, 2017
@tsteur
Copy link
Member

tsteur commented Jun 19, 2019

cheers @wolfgang42

@tsteur tsteur merged commit e062332 into matomo-org:master Jun 19, 2019
@innocraft-automation innocraft-automation removed this from the Current sprint milestone Feb 16, 2023
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.

None yet

4 participants