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

Add index.php files to directories #56

Merged
merged 2 commits into from
Jan 7, 2020
Merged

Conversation

msilvagarcia
Copy link
Contributor

According to the PrestaShop Code Validator, having an index.php file in each directory helps with the e-commerce security.

These files were added with the autoindex package.

According to the [PrestaShop documentation and the code validator](https://devdocs.prestashop.com/1.7/modules/concepts/composer/#important-notes), having an index.php file in each directory helps with the e-commerce security.
@rikterbeek
Copy link
Contributor

@msilvagarcia shall we add this as a devDependency in the composer file so it is easily to use for us all ?

@msilvagarcia
Copy link
Contributor Author

@rikterbeek We need to figure a way to set the file with our copyright header to do so. The app uses the file index.php that's inside the sources folder in itself, so either fork it with our version of the index.php or add the feature to configure the index.php to copy from.

@msilvagarcia msilvagarcia merged commit 7e05cef into develop Jan 7, 2020
@msilvagarcia msilvagarcia deleted the add-index-to-directory branch January 7, 2020 13:53
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.

3 participants