?
avatar n9iels
n9iels
12 Jun 2014

Steps to reproduce the issue

1) Go to template manager->Templates select a template
2) Go to the tab overriedes and create a override (com_contact for example)
3) Now look in the follow folder: html -> com_contact, the index.html file is missing

Expected result

There should be a index.html file in every folder, also this one.

System information (as much as possible)

PHP 5.4.23

avatar n9iels n9iels - open - 12 Jun 2014
avatar fevangelou
fevangelou - comment - 13 Jun 2014

If I recall properly this is no longer a requirement.

avatar zero-24
zero-24 - comment - 13 Jun 2014

@fevangelou

If I recall properly this is no longer a requirement.

For the JED it is dropped. See:
http://community.joomla.org/blogs/leadership/1737-the-jed-indexhtml-requirement-dropped.html

I'm not sure that it is also dropped for the CMS itself.

avatar fevangelou
fevangelou - comment - 13 Jun 2014

Some files may have been leftover by accident or some may have been leftover to keep empty but needed folders (e.g. the /cache folder) from not being ignored by git ;)

As a general rule, they are not needed except for that git thing.

avatar n9iels
n9iels - comment - 13 Jun 2014

I didn't know about that change.
But when you look at the Joomla! CMS every folder contains a index.html file. Why in this folders its not exciting?

The JED dropped it because it slowed down the process. I think we can add the index file because it exciting in every folder of Joomla at the moment

avatar Bakual
Bakual - comment - 13 Jun 2014

There is a feature tracker to adjust the .htaccess rules so directory traversals are disabled by default. See http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30192.
It would make the index.html files useless. I don't think we have an official decision yet for the CMS. We mostly don't care much anymore about them :smile:

I don't think there is a real need for those files in the templates override folder. Or do you see a security risk if someone could see the files in those folders?

avatar n9iels
n9iels - comment - 13 Jun 2014

nope, i don't see any security risks ;-)
thanks for the information, i didn't know that before

pull request can be closed

avatar Bakual
Bakual - comment - 13 Jun 2014

Closing as requested

avatar Bakual Bakual - change - 13 Jun 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-06-13 14:10:01
avatar Bakual Bakual - close - 13 Jun 2014
avatar zero-24 zero-24 - close - 13 Jun 2014
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment