Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Improve file name validation #270

Closed
jasonsanjose opened this issue Feb 15, 2012 · 4 comments
Closed

Improve file name validation #270

jasonsanjose opened this issue Feb 15, 2012 · 4 comments

Comments

@jasonsanjose
Copy link
Member

There are some filenames like COM1, LPT3, etc. that are not valid on Windows. We may want to add checks for those here. See http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx

@njx
Copy link

njx commented Mar 20, 2012

QRB reviewed.

@peterflynn
Copy link
Member

The experience doesn't seem too awful today: if you do File > New and try to use one of those filenames, you'll get an error saying 'Invalid file name. The file already exists.' This is already pretty similar to the validation error ('Invalid file name. Files names cannot contain the following characters: ...').

@redmunds
Copy link
Contributor

FBNC to @jasonsanjose.

@ghost ghost assigned jasonsanjose Jun 11, 2013
@jasonsanjose
Copy link
Member Author

Confirmed. Closing.

iwehrman pushed a commit to iwehrman/brackets that referenced this issue Sep 11, 2013
sedge pushed a commit to sedge/nimble that referenced this issue May 14, 2015
gideonthomas pushed a commit to gideonthomas/brackets that referenced this issue May 15, 2015
gideonthomas pushed a commit to gideonthomas/brackets that referenced this issue May 20, 2015
sedge pushed a commit to sedge/nimble that referenced this issue May 27, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants