Package: libwxbase3.0-0v5 Version: 3.0.5.1+dfsg-2 Severity: normal Tags: patch
wxStandardPaths::GetDocumentsDir returns a string with quotes at the start and end. It should not do this. In https://github.com/wxWidgets/wxWidgets/commit/a0fb80808771dfb27fcb452284a2cfdc9a9bf783 the code was changed to just remove all quotes (extract from the commit): --- a/src/unix/stdpaths.cpp +++ b/src/unix/stdpaths.cpp @@ -260,6 +260,8 @@ wxString wxStandardPaths::GetDocumentsDir() const value.Replace(wxT("$HOME"), homeDir); value.Trim(true); value.Trim(false); + // Remove quotes + value.Replace("\"", "", true /* replace all */); if (!value.IsEmpty() && wxDirExists(value)) return value; else While I don't really agree with _how_ the quotes are removed (the string should be unquoted like wxFileConfig does with FilterInValue instead of just stripping all of the quotes), I would like this part of the upstream commit to be backported to the current Debian package so that the returned value is useable (and I don't want to wait for a new stable release of wxWidgets). -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (700, 'testing'), (500, 'stable-updates'), (500, 'stable-security') Architecture: i386 (x86_64) Foreign Architectures: amd64 Kernel: Linux 5.14.0-2-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libwxbase3.0-0v5 depends on: ii libc6 2.32-4 ii libexpat1 2.4.1-3 ii libgcc-s1 11.2.0-10 ii libstdc++6 11.2.0-10 ii zlib1g 1:1.2.11.dfsg-2 libwxbase3.0-0v5 recommends no packages. libwxbase3.0-0v5 suggests no packages.