Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kpkpass for openSUSE:Factory checked in at 2023-11-10 12:30:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kpkpass (Old) and /work/SRC/openSUSE:Factory/.kpkpass.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kpkpass" Fri Nov 10 12:30:13 2023 rev:64 rq:1124617 version:23.08.3 Changes: -------- --- /work/SRC/openSUSE:Factory/kpkpass/kpkpass.changes 2023-10-12 23:41:31.659634648 +0200 +++ /work/SRC/openSUSE:Factory/.kpkpass.new.17445/kpkpass.changes 2023-11-10 12:31:38.656760531 +0100 @@ -1,0 +2,10 @@ +Tue Nov 7 17:05:08 UTC 2023 - Christophe Marin <[email protected]> + +- Update to 23.08.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.08.3/ +- Changes since 23.08.2: + * Make the message catalog UTF-8 encoding detection slightly more broad + +------------------------------------------------------------------- Old: ---- kpkpass-23.08.2.tar.xz kpkpass-23.08.2.tar.xz.sig New: ---- kpkpass-23.08.3.tar.xz kpkpass-23.08.3.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kpkpass.spec ++++++ --- /var/tmp/diff_new_pack.R0xQSE/_old 2023-11-10 12:31:40.168816494 +0100 +++ /var/tmp/diff_new_pack.R0xQSE/_new 2023-11-10 12:31:40.168816494 +0100 @@ -19,7 +19,7 @@ %bcond_without released %define libname libKPim5PkPass5 Name: kpkpass -Version: 23.08.2 +Version: 23.08.3 Release: 0 Summary: Library to parse Passbook files License: LGPL-2.1-or-later ++++++ kpkpass-23.08.2.tar.xz -> kpkpass-23.08.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpkpass-23.08.2/CMakeLists.txt new/kpkpass-23.08.3/CMakeLists.txt --- old/kpkpass-23.08.2/CMakeLists.txt 2023-09-14 20:45:29.000000000 +0200 +++ new/kpkpass-23.08.3/CMakeLists.txt 2023-10-18 17:22:20.000000000 +0200 @@ -3,7 +3,7 @@ # SPDX-License-Identifier: BSD-3-Clause cmake_minimum_required(VERSION 3.16 FATAL_ERROR) -set(PIM_VERSION "5.24.2") +set(PIM_VERSION "5.24.3") project(KPkPass VERSION ${PIM_VERSION}) set(KF_MIN_VERSION "5.105.0") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpkpass-23.08.2/src/pass.cpp new/kpkpass-23.08.3/src/pass.cpp --- old/kpkpass-23.08.2/src/pass.cpp 2023-09-14 20:45:29.000000000 +0200 +++ new/kpkpass-23.08.3/src/pass.cpp 2023-10-18 17:22:20.000000000 +0200 @@ -29,6 +29,8 @@ #endif #include <QUrl> +#include <cctype> + using namespace KPkPass; static const char *const passTypes[] = {"boardingPass", "coupon", "eventTicket", "generic", "storeCard"}; @@ -123,11 +125,14 @@ std::unique_ptr<QIODevice> dev(file->createDevice()); const auto rawData = dev->readAll(); + if (rawData.size() < 4) { + return false; + } // this should be UTF-16BE, but that doesn't stop Eurowings from using UTF-8, // so do a primitive auto-detection here. UTF-16's first byte would either be the BOM // or \0. QString catalog; - if (rawData.at(0) == '"') { + if (std::ispunct((unsigned char)rawData.at(0))) { catalog = QString::fromUtf8(rawData); } else { #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
