maqetta/maqetta — Issue #1363: File name field shouldn't allow slash (/) characters
Author: JonFerraiolo
Created: 2011-12-14 04:42:44+00:00
State: open
Labels: Files View, Priority Low

In some cases (e.g., SaveAs) the file dialog will show ```./project1/file1.css```. If you actually click OK, the dialog will actually append the string to the current path. For example, if you are in ```folder1``` and click Save, the file will be saved as ```project1/folder1/project1/file1.css```.

We should never show or allow any sort of path within the file name field. It should only show or allow the last topic in a path (i.e., the fileaame part such as ```file1.html```). One possibility is to put a regex on the textbox to turn on validation, where the regex allows any characters except "/". (And probably shouldn't allow leading or trailing spaces, or maybe strip them out at the end)