5
I had a related problem, but mine was only partially resolved by this fix.
I am looking at the preferences for XoopsGallery, and when I am entering a Win32 path, it always doubles the number of \'s that were there when I submit. I type "c:\foo" and after submitting it becomes "c:\\foo" then again and it goes to "c:\\\\foo" and so on.
After applying the patch, now it only double's it the first time so I always have "c:\\foo" after submitting any number of times.
Here's the declaration for the preference from the xoops_version.php:
$modversion['config'][1]['name'] = 'pnmDir';
$modversion['config'][1]['title'] = '_MI_GALLERY_PNMDIR';
$modversion['config'][1]['description'] = '_MI_GALLERY_PNMDIRDSC';
$modversion['config'][1]['formtype'] = 'textbox';
$modversion['config'][1]['valuetype'] = 'text';
$modversion['config'][1]['default'] = '/usr/bin';