Wireshark-bugs: [Wireshark-bugs] [Bug 1129] idl2wrs produces invalid procedure names if input fi
Date: Thu, 10 Feb 2011 11:05:43 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1129

Chris Maynard <christopher.maynard@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5929|                            |review_for_checkin?
               Flag|                            |

--- Comment #2 from Chris Maynard <christopher.maynard@xxxxxxxxx> 2011-02-10 11:05:41 PST ---
Created an attachment (id=5929)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=5929)
Don't allow any invalid characters to be specified in the filename.

Rather than attempting to replace invalid characters with some other
substituted character or sequence of characters, I've taken the approach of
simply not allowing such characters to be part of the filename in the first
place.  It is therefore incumbent upon the user to ensure the file is named
such that valid code can be produced from it.

I've chosen to allow only alphanumeric characters, the underscore character,
'_', and up to one decimal point character, '.'.  Is that sufficient?  Can
someone please test this to ensure it fulfills the needs of this bug so it can
be closed?

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.