Part of CAT-SOOP’s specification format is that resources starting with _ or . are not viewable via the web (or, at least, that they are reserved for CAT-SOOP’s use). This is properly handled in the case of a directory that starts with _ or . and contains a content.md or other content file, but it is not the case for bare content files.
For example, a file called _hidden.md inside of course/somewhere will be web accessible under <cs_url_root>/course/somewhere/_hidden.
This whole function could use some refactoring, but the relevant portion of code is near the bottom of content_file_location in dispatch.py. I think it should just be another check in the case we’re loading from a file, to make sure not only that the file in question exists, but also that it does not start with _ or ..
No due date set.
This issue currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?