gitlabhq/gitlabhq — pull request #6066 by bwinterton (2014-01-15 19:40:17+00:00)
Title: Removed File.basename stripping of filename upon file creation

Removed `file.baseline` stripping of the `params[:file_name]` so that a new file can be created in a specified directory. This allows creation of a file within a new directory from the web UI. Directory creation occurs by specifying a relative directory path in the file name field on the file creation view.