From db561b20c78f4a41c0567e08922fb2f1cb92e10c Mon Sep 17 00:00:00 2001 From: Lars Windolf Date: Sat, 29 Jun 2024 20:56:47 +0200 Subject: [PATCH] Fixes #1359: Prevent passing as CLI argument causing a useless subscription. Also checks for duplicates when subscribing from CLI/DBUS. --- ChangeLog | 9 +++++++++ src/liferea_application.c | 24 ++++++++++++++++-------- 2 files changed, 25 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3adec12d3..7f820f920 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +To be released + + Version 1.15.8 + + * Fixes #1359: Prevent passing "" as CLI argument causing a useless subscription. + Also checks for duplicates when subscribing from CLI/DBUS. + (Lars Windolf) + + 2024-06-19 Lars Windolf Version 1.15.7 diff --git a/src/liferea_application.c b/src/liferea_application.c index 11ea24689..c928f8980 100644 --- a/src/liferea_application.c +++ b/src/liferea_application.c @@ -1,7 +1,7 @@ /** * @file main.c Liferea startup * - * Copyright (C) 2003-2023 Lars Windolf + * Copyright (C) 2003-2024 Lars Windolf * Copyright (C) 2004-2006 Nathan J. Conrad * * Some code like the command line handling was inspired by @@ -89,15 +89,23 @@ on_app_open (GApplication *application, for (i=0;(i