Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5237] Forward slashes in URI need to be converted to backs

Date: Tue, 28 Sep 2010 09:49:55 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5237

Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeff.morriss.ws@xxxxxxxxx

--- Comment #3 from Jeff Morriss <jeff.morriss.ws@xxxxxxxxx> 2010-09-28 09:49:53 PDT ---
I can reproduce the problem on Windows XP though I haven't had time to apply
the troubleshooting patch yet.

Another note: this code in gtk/menus.c:

~~~
    normalized_cf_name = g_strdup(cf_name);
#ifdef _WIN32
    /* replace all slashes by backslashes */
    g_strdelimit(normalized_cf_name, "/", '\\');
#endif
~~~

also changes the slashes.  I think this patch is essentially pushing that
processing closer to where the file name comes in.  I guess if we did that for
all input sources then this menus.c code could be removed.  (I don't know if
it's worth doing that or not, it's just a thought.)

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