From f52f6f2e4d126bcbefda816bf00da19468b5f8ff Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Sun, 21 Nov 2010 14:02:53 +0000 Subject: [PATCH] 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 --- src/preferences/filetypes/NewFileTypeWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preferences/filetypes/NewFileTypeWindow.cpp b/src/preferences/filetypes/NewFileTypeWindow.cpp index b9014504de..68ee4c637a 100644 --- a/src/preferences/filetypes/NewFileTypeWindow.cpp +++ b/src/preferences/filetypes/NewFileTypeWindow.cpp @@ -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]); }