chrizonix / QuickLaunch

Quick Launch Toolbar for Shortcuts and Links in Windows 11
GNU General Public License v2.0
2 stars 0 forks source link

Crash when using shortcuts to samba shares with $ in the name? #1

Open IvanRaide opened 4 days ago

IvanRaide commented 4 days ago

Whenever I point QuickLauncher to a directory with shortcuts that have $ in the name it crashes on the regex interpretation of them. Pasted the error below:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.FormatException: Invalid line 11 in ini file 'config.ini': 'DEV - c$.lnk = DEV - c$' key part 'DEV - c$.lnk' did not pass the regex validation. at GitHub.SimpleIni.IniFile.ParseLines(String[] lines, IniConfig config) at GitHub.SimpleIni.IniFile..ctor(String path, Nullable`1 config) at QuickLaunch.Data.ConfigFile.LoadFile() at QuickLaunch.Main.Main_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.9282.0 built by: NET481REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll

QuickLaunch Assembly Version: 1.2.8.0 Win32 Version: 1.2.8.0 CodeBase: file:///C:/Applications/Enhancements/QuickLaunch/Shares/QuickLaunch.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.9256.0 built by: NET481REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.8.9282.0 built by: NET481REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

AnySerializer Assembly Version: 1.2.0.0 Win32 Version: 1.2.8.0 CodeBase: file:///C:/Applications/Enhancements/QuickLaunch/Shares/QuickLaunch.exe

TypeSupport Assembly Version: 1.2.0.0 Win32 Version: 1.2.8.0 CodeBase: file:///C:/Applications/Enhancements/QuickLaunch/Shares/QuickLaunch.exe

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.9277.0 built by: NET481REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.9032.0 built by: NET481REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

chrizonix commented 4 days ago

Hi @IvanRaide, thanks for the report, I will have a look at it in a few days :)