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