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:
parent
95d32039c6
commit
f52f6f2e4d
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user