3be9d2c422
Simply type a name with a `/` directory separator and new directories will be created. This does not do the fancy UI work that github.com does, but it will get the job done. I could not find tests for file creation, so I didn't add a test for this slight behaviour modification. I did test directory traversals though, using both absolute paths like `/tmp/foo.txt` and relative paths like `../../foo.txt`. Neither case escaped the repository, though attempting to traverse with a relative path resulted in a 500 error that did not affect application stability upon reload. |
||
---|---|---|
.. | ||
commits | ||
issues | ||
source | ||
active_tab.feature | ||
archived.feature | ||
create.feature | ||
deploy_keys.feature | ||
fork.feature | ||
forked_merge_requests.feature | ||
graph.feature | ||
hooks.feature | ||
merge_requests.feature | ||
network_graph.feature | ||
project.feature | ||
redirects.feature | ||
service.feature | ||
shortcuts.feature | ||
snippets.feature | ||
star.feature | ||
team_management.feature | ||
wiki.feature |