Bug #27791 Invalid characters in filename on save
Submitted: 12 Apr 2007 19:00 Modified: 27 Apr 2007 13:43
Reporter: Anthony Willard (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.2.11 OS:Windows (XP SP2)
Assigned to: CPU Architecture:Any

[12 Apr 2007 19:00] Anthony Willard
Description:
File->Save As menu allows invalid characters in filename.

How to repeat:
1- Open Query Browser
2- Enter a simple query (ie SELECT * FROM INFORMATION_SCHEMA.TABLES)
3- Select the menu File-Save As...
4- Enter a filename like "test_>_30"
-- no error is raised, but no file is produced either, the ">" is an invalid character in a filename, as are / ? < > \ : * | ".

Suggested fix:
Screen the filenames and not allow such characters in a filename on a Windows system.
[13 Apr 2007 1:37] MySQL Verification Team
Error Message

Attachment: QB-Error-Message.png (image/x-png, text), 146.51 KiB.

[13 Apr 2007 1:41] MySQL Verification Team
Thank you for the bug report. I was not able to repeat (I attached
a picture and the message text is in Portuguese because that
is my Windows version language but the error message translation
is isn't a valid file name).
[13 Apr 2007 1:48] Anthony Willard
What version of Windows are you running?  I get this lack of error on XP, are you running Vista?

I get no error at all.
[13 Apr 2007 12:23] MySQL Verification Team
Thank you for the feedback. Yes I tested with Vista and now with XP I was
able to repeat.
[27 Apr 2007 13:43] Michael G. Zinner
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at

    http://dev.mysql.com/doc/en/installing-source.html