Add space to disallowed chars for MIME type or subtype.

Fix #6853.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39556 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin 2010-11-21 14:02:53 +00:00
parent 95d32039c6
commit f52f6f2e4d

View File

@ -84,7 +84,7 @@ NewFileTypeWindow::NewFileTypeWindow(FileTypesWindow* target,
// filter out invalid characters that can't be part of a MIME type name
BTextView* nameControlTextView = fNameControl->TextView();
const char* disallowedCharacters = "/<>@,;:\"()[]?=";
const char* disallowedCharacters = "/<>@,;:\"()[]?= ";
for (int32 i = 0; disallowedCharacters[i]; i++) {
nameControlTextView->DisallowChar(disallowedCharacters[i]);
}