Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libsoup for openSUSE:Factory checked in at 2022-03-23 20:16:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libsoup (Old) and /work/SRC/openSUSE:Factory/.libsoup.new.25692 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsoup" Wed Mar 23 20:16:46 2022 rev:133 rq:963627 version:3.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/libsoup/libsoup.changes 2022-01-09 22:50:10.711284281 +0100 +++ /work/SRC/openSUSE:Factory/.libsoup.new.25692/libsoup.changes 2022-03-23 20:17:48.286443289 +0100 @@ -1,0 +2,12 @@ +Fri Mar 18 17:47:48 UTC 2022 - Bj??rn Lie <bjorn....@gmail.com> + +- Update to version 3.0.5: + + Misc HTTP/2 fixes. + + Fix missing files for installed-tests. + + Fix SoupServer not properly handling invalid percent encoded + paths. + + Fix other areas not properly handling invalid percent encoded + paths. + + Fix SoupLogger:max-body-size of 0 meaning log nothing. + +------------------------------------------------------------------- Old: ---- libsoup-3.0.4.tar.xz New: ---- libsoup-3.0.5.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libsoup.spec ++++++ --- /var/tmp/diff_new_pack.zIsTkk/_old 2022-03-23 20:17:48.930443654 +0100 +++ /var/tmp/diff_new_pack.zIsTkk/_new 2022-03-23 20:17:48.938443658 +0100 @@ -18,7 +18,7 @@ %define api_version 3.0 Name: libsoup -Version: 3.0.4 +Version: 3.0.5 Release: 0 Summary: HTTP client/server library for GNOME License: LGPL-2.1-or-later ++++++ libsoup-3.0.4.tar.xz -> libsoup-3.0.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/.gitlab-ci/Dockerfile new/libsoup-3.0.5/.gitlab-ci/Dockerfile --- old/libsoup-3.0.4/.gitlab-ci/Dockerfile 2022-01-06 03:48:16.189508000 +0100 +++ new/libsoup-3.0.5/.gitlab-ci/Dockerfile 2022-03-18 18:43:31.596026700 +0100 @@ -33,7 +33,7 @@ && dnf clean all \ && python2.7 -m ensurepip \ && pip2.7 install virtualenv autobahntestsuite \ - && pip3 install quart + && pip3 install quart gi-docgen # We need glib 2.70 RUN git clone https://gitlab.gnome.org/GNOME/glib.git \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/.gitlab-ci/run-docker.sh new/libsoup-3.0.5/.gitlab-ci/run-docker.sh --- old/libsoup-3.0.4/.gitlab-ci/run-docker.sh 2022-01-06 03:48:16.189508000 +0100 +++ new/libsoup-3.0.5/.gitlab-ci/run-docker.sh 2022-03-18 18:43:31.597026800 +0100 @@ -2,7 +2,7 @@ set -e -TAG="registry.gitlab.gnome.org/gnome/libsoup/master:v15" +TAG="registry.gitlab.gnome.org/gnome/libsoup/master:v16" SUDO_CMD="sudo" if docker -v |& grep -q podman; then diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/.gitlab-ci.yml new/libsoup-3.0.5/.gitlab-ci.yml --- old/libsoup-3.0.4/.gitlab-ci.yml 2022-01-06 03:48:16.189508000 +0100 +++ new/libsoup-3.0.5/.gitlab-ci.yml 2022-03-18 18:43:31.596026700 +0100 @@ -1,4 +1,4 @@ -image: registry.gitlab.gnome.org/gnome/libsoup/master:v15 +image: registry.gitlab.gnome.org/gnome/libsoup/master:v16 stages: - build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/NEWS new/libsoup-3.0.5/NEWS --- old/libsoup-3.0.4/NEWS 2022-01-06 03:48:16.191508000 +0100 +++ new/libsoup-3.0.5/NEWS 2022-03-18 18:43:31.598026800 +0100 @@ -1,3 +1,11 @@ +Changes in libsoup from 3.0.4 to 3.0.5: + +* Misc HTTP/2 fixes [Carlos Garcia Campos] +* Fix missing files for installed-tests [Simon McVittie] +* Fix SoupServer not properly handling invalid percent encoded paths [Ignacio Casal Quinteiro] +* Fix other areas not properly handling invalid percent encoded paths [Patrick Griffis] +* Fix SoupLogger:max-body-size of 0 meaning log nothing [Patrick Griffis] + Changes in libsoup from 3.0.3 to 3.0.4: * Fix HTTP/2 not properly handling socket timeouts [Carlos Garcia Campos] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/libsoup/http2/soup-client-message-io-http2.c new/libsoup-3.0.5/libsoup/http2/soup-client-message-io-http2.c --- old/libsoup-3.0.4/libsoup/http2/soup-client-message-io-http2.c 2022-01-06 03:48:16.200507900 +0100 +++ new/libsoup-3.0.5/libsoup/http2/soup-client-message-io-http2.c 2022-03-18 18:43:31.609026700 +0100 @@ -724,6 +724,8 @@ soup_http2_message_data_check_status (data); } } + /* Try to write after every data frame, since nghttp2 might need to send a window update. */ + io_try_write (io, !data->item->async); break; case NGHTTP2_RST_STREAM: if (frame->rst_stream.error_code != NGHTTP2_NO_ERROR) { @@ -864,8 +866,14 @@ h2_debug (io, data, "[SEND] [%s]", frame_type_to_string (frame->hd.type)); io->goaway_sent = TRUE; if (io->close_task) { + GSource *source; + /* Close in idle to ensure all pending io is finished first */ - g_idle_add ((GSourceFunc)close_in_idle_cb, io); + source = g_idle_source_new (); + g_source_set_name (source, "Soup HTTP/2 close source"); + g_source_set_callback (source, (GSourceFunc)close_in_idle_cb, io, NULL); + g_source_attach (source, g_main_context_get_thread_default ()); + g_source_unref (source); } break; default: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/libsoup/server/soup-auth-domain-digest.c new/libsoup-3.0.5/libsoup/server/soup-auth-domain-digest.c --- old/libsoup-3.0.4/libsoup/server/soup-auth-domain-digest.c 2022-01-06 03:48:16.201508000 +0100 +++ new/libsoup-3.0.5/libsoup/server/soup-auth-domain-digest.c 2022-03-18 18:43:31.610026800 +0100 @@ -237,7 +237,7 @@ req_path = soup_uri_get_path_and_query (req_uri); dig_path = g_uri_unescape_string (uri, NULL); - if (strcmp (dig_path, req_path) != 0) { + if (g_strcmp0 (dig_path, req_path) != 0) { g_free (req_path); g_free (dig_path); return FALSE; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/libsoup/server/soup-server.c new/libsoup-3.0.5/libsoup/server/soup-server.c --- old/libsoup-3.0.4/libsoup/server/soup-server.c 2022-01-06 03:48:16.203508000 +0100 +++ new/libsoup-3.0.5/libsoup/server/soup-server.c 2022-03-18 18:43:31.612026700 +0100 @@ -858,7 +858,8 @@ decoded_path = g_uri_unescape_string (g_uri_get_path (uri), NULL); - if (strstr (decoded_path, "/../") || + if (decoded_path == NULL || + strstr (decoded_path, "/../") || g_str_has_suffix (decoded_path, "/..") #ifdef G_OS_WIN32 || diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/libsoup/soup-connection.h new/libsoup-3.0.5/libsoup/soup-connection.h --- old/libsoup-3.0.4/libsoup/soup-connection.h 2022-01-06 03:48:16.204507800 +0100 +++ new/libsoup-3.0.5/libsoup/soup-connection.h 2022-03-18 18:43:31.613026900 +0100 @@ -6,7 +6,7 @@ #ifndef __SOUP_CONNECTION_H__ #define __SOUP_CONNECTION_H__ 1 -#include "soup-types.h" +#include "soup-types-private.h" #include "soup-message-private.h" #include "soup-misc.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/libsoup/soup-headers.c new/libsoup-3.0.5/libsoup/soup-headers.c --- old/libsoup-3.0.4/libsoup/soup-headers.c 2022-01-06 03:48:16.205508000 +0100 +++ new/libsoup-3.0.5/libsoup/soup-headers.c 2022-03-18 18:43:31.614026800 +0100 @@ -697,6 +697,9 @@ return FALSE; decoded = g_uri_unescape_string (q + 1, NULL); + if (decoded == NULL) + return FALSE; + if (iso_8859_1) { char *utf8 = g_convert_with_fallback (decoded, -1, "UTF-8", "iso-8859-1", "_", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/libsoup/soup-logger.c new/libsoup-3.0.5/libsoup/soup-logger.c --- old/libsoup-3.0.4/libsoup/soup-logger.c 2022-01-06 03:48:16.206508000 +0100 +++ new/libsoup-3.0.5/libsoup/soup-logger.c 2022-03-18 18:43:31.615026700 +0100 @@ -163,14 +163,13 @@ g_hash_table_insert (bodies, key, body); } - if (priv->max_body_size > 0) { + if (priv->max_body_size >= 0) { /* longer than max => we've written the extra [...] */ if (body->len > priv->max_body_size) return; int cap = priv->max_body_size - body->len; - if (cap) - g_string_append_len (body, buffer, - (nread < cap) ? nread : cap); + if (cap > 0) + g_string_append_len (body, buffer, MIN (nread, cap)); if (nread > cap) g_string_append (body, "\n[...]"); } else { @@ -368,6 +367,7 @@ -1, G_MAXINT, -1, + G_PARAM_CONSTRUCT | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/libsoup/soup-session.c new/libsoup-3.0.5/libsoup/soup-session.c --- old/libsoup-3.0.4/libsoup/soup-session.c 2022-01-06 03:48:16.209508000 +0100 +++ new/libsoup-3.0.5/libsoup/soup-session.c 2022-03-18 18:43:31.618026700 +0100 @@ -64,6 +64,9 @@ * for %SOUP_TYPE_AUTH_BASIC and %SOUP_TYPE_AUTH_DIGEST. Additionally, * sessions using the plain #SoupSession class (rather than one of its deprecated * subtypes) have a #SoupContentDecoder by default. + * + * Note that all async methods will invoke their callbacks on the thread-default + * context at the time of the function call. **/ /** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/libsoup/soup-types-private.h new/libsoup-3.0.5/libsoup/soup-types-private.h --- old/libsoup-3.0.4/libsoup/soup-types-private.h 1970-01-01 01:00:00.000000000 +0100 +++ new/libsoup-3.0.5/libsoup/soup-types-private.h 2022-03-18 18:43:31.618026700 +0100 @@ -0,0 +1,18 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */ +/* + * Copyright (C) 2003, Ximian, Inc. + */ + +#pragma once + +#include "soup-types.h" + +G_BEGIN_DECLS + +typedef struct _SoupConnection SoupConnection; +typedef struct _SoupMessageQueue SoupMessageQueue; +typedef struct _SoupMessageQueueItem SoupMessageQueueItem; +typedef struct _SoupClientMessageIO SoupClientMessageIO; +typedef struct _SoupSocket SoupSocket; + +G_END_DECLS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/libsoup/soup-types.h new/libsoup-3.0.5/libsoup/soup-types.h --- old/libsoup-3.0.4/libsoup/soup-types.h 2022-01-06 03:48:16.210507900 +0100 +++ new/libsoup-3.0.5/libsoup/soup-types.h 2022-03-18 18:43:31.618026700 +0100 @@ -27,16 +27,9 @@ typedef struct _SoupServerMessage SoupServerMessage; typedef struct _SoupSession SoupSession; typedef struct _SoupSessionFeature SoupSessionFeature; -typedef struct _SoupSocket SoupSocket; typedef struct _SoupWebsocketConnection SoupWebsocketConnection; typedef struct _SoupWebsocketExtension SoupWebsocketExtension; -/*< private >*/ -typedef struct _SoupConnection SoupConnection; -typedef struct _SoupMessageQueue SoupMessageQueue; -typedef struct _SoupMessageQueueItem SoupMessageQueueItem; -typedef struct _SoupClientMessageIO SoupClientMessageIO; - G_END_DECLS #endif /* __SOUP_TYPES_H__ */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/meson.build new/libsoup-3.0.5/meson.build --- old/libsoup-3.0.4/meson.build 2022-01-06 03:48:16.211507800 +0100 +++ new/libsoup-3.0.5/meson.build 2022-03-18 18:43:31.620026800 +0100 @@ -1,7 +1,7 @@ project('libsoup', 'c', - version: '3.0.4', + version: '3.0.5', meson_version : '>= 0.53', - license : 'LGPL2', + license : 'LGPL-2.0-or-later', default_options : [ 'c_std=gnu99', 'warning_level=2', @@ -19,7 +19,7 @@ # # When bumping the first component version, set the second and third components # to 0. When bumping the second version, set the third one to zero. -libversion = '0.0.4' +libversion = '0.0.5' apiversion = '3.0' soversion = libversion.split('.')[0] libsoup_api_name = '@0@-@1@'.format(meson.project_name(), apiversion) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/po/LINGUAS new/libsoup-3.0.5/po/LINGUAS --- old/libsoup-3.0.4/po/LINGUAS 2022-01-06 03:48:16.211507800 +0100 +++ new/libsoup-3.0.5/po/LINGUAS 2022-03-18 18:43:31.620026800 +0100 @@ -1,3 +1,4 @@ +ab an as be diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/po/ab.po new/libsoup-3.0.5/po/ab.po --- old/libsoup-3.0.4/po/ab.po 1970-01-01 01:00:00.000000000 +0100 +++ new/libsoup-3.0.5/po/ab.po 2022-03-18 18:43:31.620026800 +0100 @@ -0,0 +1,193 @@ +# Abkhazian translation for libsoup. +# Copyright (C) 2022 libsoup's COPYRIGHT HOLDER +# This file is distributed under the same license as the libsoup package. +# ?????????? ?????????? <naala-na...@rambler.ru>, 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: libsoup master\n" +"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/libsoup/issues\n" +"POT-Creation-Date: 2022-02-08 17:27+0000\n" +"PO-Revision-Date: 2022-02-08 17:27+0000\n" +"Last-Translator: ?????????? ?????????? <naala-na...@rambler.ru>\n" +"Language-Team: Abkhazian <a...@li.org>\n" +"Language: ab\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: libsoup/cache/soup-cache-input-stream.c:70 +msgid "Network stream unexpectedly closed" +msgstr "?????????? ???????????????? ?????????????????????? ????????????????" + +#: libsoup/cache/soup-cache-input-stream.c:252 +msgid "Failed to completely cache the resource" +msgstr "???????????????? ?????????????? ?????? ?????????? ??????????????????????" + +#: libsoup/content-decoder/soup-converter-wrapper.c:197 +#, c-format +msgid "Output buffer is too small" +msgstr "?????????????????? ?????????? ?????????? ??????????????" + +#: libsoup/http1/soup-body-input-stream.c:155 +#: libsoup/http1/soup-body-input-stream.c:187 +#: libsoup/http1/soup-body-input-stream.c:220 +#: libsoup/http1/soup-message-io-data.c:77 +msgid "Connection terminated unexpectedly" +msgstr "???????????????? ?????????????????????? ????????????????????????" + +#: libsoup/http1/soup-body-input-stream.c:471 +msgid "Invalid seek request" +msgstr "?????????????? ???????????????????? ??????????????" + +#: libsoup/http1/soup-body-input-stream.c:499 +msgid "Cannot truncate SoupBodyInputStream" +msgstr "???????????????????????? ???????????? SoupBodyInputStream" + +#: libsoup/http1/soup-client-message-io-http1.c:312 +#: libsoup/http1/soup-client-message-io-http1.c:756 +#: libsoup/http2/soup-body-input-stream-http2.c:221 +#: libsoup/server/soup-server-io.c:363 libsoup/server/soup-server-io.c:828 +msgid "Operation would block" +msgstr "?????????????? ??????????????????" + +#: libsoup/http1/soup-client-message-io-http1.c:456 +msgid "Could not parse HTTP response" +msgstr "HTTP-???????? ?????????????????? ??????????????????????" + +#: libsoup/http1/soup-client-message-io-http1.c:479 +msgid "Unrecognized HTTP response encoding" +msgstr "HTTP- ???????? ?????????????????? ????????????????" + +#: libsoup/http1/soup-client-message-io-http1.c:715 +#: libsoup/http1/soup-client-message-io-http1.c:741 +#: libsoup/http2/soup-client-message-io-http2.c:1513 +#: libsoup/http2/soup-client-message-io-http2.c:1537 +msgid "Operation was cancelled" +msgstr "?????????????? ????????????" + +#: libsoup/http1/soup-message-io-data.c:105 +msgid "Header too big" +msgstr "?????????? ???????? ??????" + +#: libsoup/server/soup-server.c:1202 +msgid "Can???t create a TLS server without a TLS certificate" +msgstr "?????????????? ???????????? TLS-???????????? TLS-???????????????????? ??????" + +#: libsoup/server/soup-server.c:1224 +#, c-format +msgid "Could not listen on address %s, port %d: " +msgstr "?????????????? ?????????????? %s ???????? ?????????????????? ?????????????? ?????????? ??? %d:" + +#: libsoup/server/soup-socket.c:121 +msgid "Could not import existing socket: " +msgstr "???????? ???????????? ?????????????????????????? ??????????????????????:" + +#: libsoup/server/soup-socket.c:130 +msgid "Can???t import unconnected socket" +msgstr "?????????????? ?????????????????????????? ?????????????? ????????????" + +#: libsoup/soup-session.c:1169 +msgid "Location header is missing or empty in response headers" +msgstr "Location ?????? ???????????? ???????????? ?????????????? ?????????????? ????????????" + +#: libsoup/soup-session.c:1183 +#, c-format +msgid "Invalid URI ???%s??? in Location response header" +msgstr "?????????????????? URI ??%s?? Location ???????? ????????????" + +#: libsoup/soup-session.c:1203 +msgid "Too many redirects" +msgstr "?????????????????????????????? ?????????? ????????????????" + +#: libsoup/soup-session.c:1208 +msgid "Message was restarted too many times" +msgstr "?????????????? ?????????? ???????????????? ????????????????????????" + +#: libsoup/soup-session.c:3320 libsoup/soup-session.c:3469 +msgid "Message is already in session queue" +msgstr "?????????????? ?????????????????? ?????????????????????? ??????????????????" + +#: libsoup/soup-session.c:3830 +msgid "The server did not accept the WebSocket handshake." +msgstr "?????????????? ???????????????????????? ???????????????? ?????????????????????????????? WebSocket." + +#: libsoup/soup-tld.c:142 +msgid "No public-suffix list available." +msgstr "???????????????? ?????????????????????? ?????????????????? ????????????" + +#: libsoup/soup-tld.c:152 libsoup/soup-tld.c:168 +msgid "Invalid hostname" +msgstr "???????????????????? ???????? ??????????????" + +#: libsoup/soup-tld.c:159 +msgid "Hostname is an IP address" +msgstr "???????????????????? ???????? IP - ????????????????" + +#: libsoup/soup-tld.c:180 +msgid "Hostname has no base domain" +msgstr "???????????????????? ???????? ?????????????? ???????????????? ????????" + +#: libsoup/soup-tld.c:188 +msgid "Not enough domains" +msgstr "???????????? ???????????????? ?????????????? ?????????????? ????????" + +#: libsoup/websocket/soup-websocket.c:399 +#: libsoup/websocket/soup-websocket.c:443 +#: libsoup/websocket/soup-websocket.c:459 +msgid "Server requested unsupported extension" +msgstr "?????????????? ???????????????? ???????? ???????????????? ??????????????????" + +#: libsoup/websocket/soup-websocket.c:422 +#: libsoup/websocket/soup-websocket.c:614 +#, c-format +msgid "Incorrect WebSocket ???%s??? header" +msgstr "???????????? ?????? WebSocket ??%s??" + +#: libsoup/websocket/soup-websocket.c:423 +#: libsoup/websocket/soup-websocket.c:878 +#, c-format +msgid "Server returned incorrect ???%s??? key" +msgstr "?????????????? ???????????? ??%s?? ???????????? WebSocket ????????????????" + +#: libsoup/websocket/soup-websocket.c:486 +#, c-format +msgid "Duplicated parameter in ???%s??? WebSocket extension header" +msgstr "???????????????? ???????????????????????? ??%s?? ???????? ???????????????? ?????? WebSocket" + +#: libsoup/websocket/soup-websocket.c:487 +#, c-format +msgid "" +"Server returned a duplicated parameter in ???%s??? WebSocket extension header" +msgstr "" +"?????????????? ?????????????????? ???????????????? ???????????????? ??%s?? ???????? ???????????????? ?????? WebSocket" + +#: libsoup/websocket/soup-websocket.c:577 +#: libsoup/websocket/soup-websocket.c:587 +msgid "WebSocket handshake expected" +msgstr "???????????????? ?????????????????????????????? ?????????????? WebSocket" + +#: libsoup/websocket/soup-websocket.c:595 +msgid "Unsupported WebSocket version" +msgstr "???????????????? ???????? ?????????????? WebSocket" + +#: libsoup/websocket/soup-websocket.c:604 +msgid "Invalid WebSocket key" +msgstr "???????????? ???????????? WebSocket" + +#: libsoup/websocket/soup-websocket.c:623 +msgid "Unsupported WebSocket subprotocol" +msgstr "???????????????? ???????? ???????????????????????? WebSocket" + +#: libsoup/websocket/soup-websocket.c:829 +msgid "Server rejected WebSocket handshake" +msgstr "?????????????? ???????????????? WebSocket ?????????????????????????????? ?????? ???????????????? " + +#: libsoup/websocket/soup-websocket.c:837 +#: libsoup/websocket/soup-websocket.c:846 +msgid "Server ignored WebSocket handshake" +msgstr "?????????????? ?????????????????????????? ???????????????? ?????????????????????????????? WebSocket" + +#: libsoup/websocket/soup-websocket.c:858 +msgid "Server requested unsupported protocol" +msgstr "?????????????? ???????????????? ???????? ?????????????????? ???????????????? ????????????????" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/po/bg.po new/libsoup-3.0.5/po/bg.po --- old/libsoup-3.0.4/po/bg.po 2022-01-06 03:48:16.211507800 +0100 +++ new/libsoup-3.0.5/po/bg.po 2022-03-18 18:43:31.620026800 +0100 @@ -1,14 +1,15 @@ # Bulgarian translation of libsoup po-file. # Copyright (C) 2012, 2013, 2016 Free Software Foundation, Inc. +# Copyright (C) 2022 Alexander Shopov. # This file is distributed under the same license as the libsoup package. -# Alexander Shopov <a...@kambanaria.org>, 2012, 2013, 2016. +# Alexander Shopov <a...@kambanaria.org>, 2012, 2013, 2016, 2022. # msgid "" msgstr "" "Project-Id-Version: libsoup master\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-02-01 06:26+0200\n" -"PO-Revision-Date: 2016-02-01 06:26+0200\n" +"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/libsoup/issues\n" +"POT-Creation-Date: 2022-03-11 09:17+0000\n" +"PO-Revision-Date: 2022-03-12 10:44+0100\n" "Last-Translator: Alexander Shopov <a...@kambanaria.org>\n" "Language-Team: Bulgarian <d...@fsa-bg.org>\n" "Language: bg\n" @@ -17,157 +18,180 @@ "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: ../libsoup/soup-body-input-stream.c:140 -#: ../libsoup/soup-body-input-stream.c:171 -#: ../libsoup/soup-body-input-stream.c:204 ../libsoup/soup-message-io.c:235 -msgid "Connection terminated unexpectedly" -msgstr "???????????????? ???????????????? ????????????????????" - -#: ../libsoup/soup-body-input-stream.c:462 -msgid "Invalid seek request" -msgstr "???????????????????? ???????????? ???? ??????????????" - -#: ../libsoup/soup-body-input-stream.c:490 -msgid "Cannot truncate SoupBodyInputStream" -msgstr "?????????????? SoupBodyInputStream ???? ???????? ???? ???????? ??????????????????" - -#: ../libsoup/soup-cache-input-stream.c:74 +#: libsoup/cache/soup-cache-input-stream.c:70 msgid "Network stream unexpectedly closed" -msgstr "?????????????? ???? ?????????????? ???????????????????? ????????????????" +msgstr "?????????????????? ?????????? ???????????????????? ????????????????" -#: ../libsoup/soup-cache-input-stream.c:291 +#: libsoup/cache/soup-cache-input-stream.c:252 msgid "Failed to completely cache the resource" msgstr "???????????????? ???? ???????? ???? ???????? ?????????????? ??????????????" -#: ../libsoup/soup-converter-wrapper.c:192 +#: libsoup/content-decoder/soup-converter-wrapper.c:197 #, c-format msgid "Output buffer is too small" msgstr "?????????????????? ?????????? ?????????????? ??????????" -#: ../libsoup/soup-message-client-io.c:41 +#: libsoup/http1/soup-body-input-stream.c:155 +#: libsoup/http1/soup-body-input-stream.c:187 +#: libsoup/http1/soup-body-input-stream.c:220 +#: libsoup/http1/soup-message-io-data.c:77 +msgid "Connection terminated unexpectedly" +msgstr "???????????????? ???????????????? ????????????????????" + +#: libsoup/http1/soup-body-input-stream.c:471 +msgid "Invalid seek request" +msgstr "???????????????????? ???????????? ???? ??????????????" + +#: libsoup/http1/soup-body-input-stream.c:499 +msgid "Cannot truncate SoupBodyInputStream" +msgstr "?????????????? ???SoupBodyInputStream??? ???? ???????? ???? ???????? ??????????????" + +#: libsoup/http1/soup-client-message-io-http1.c:312 +#: libsoup/http1/soup-client-message-io-http1.c:756 +#: libsoup/http2/soup-body-input-stream-http2.c:221 +#: libsoup/server/soup-server-io.c:363 libsoup/server/soup-server-io.c:828 +msgid "Operation would block" +msgstr "???????????????????? ???? ??????????????" + +#: libsoup/http1/soup-client-message-io-http1.c:456 msgid "Could not parse HTTP response" msgstr "?????????????????? ???? HTTP ???? ???????? ???? ???????? ????????????????????" -#: ../libsoup/soup-message-client-io.c:66 +#: libsoup/http1/soup-client-message-io-http1.c:479 msgid "Unrecognized HTTP response encoding" msgstr "?????????????????? ???????????????? ???? ???????????????? ???? HTTP" -#: ../libsoup/soup-message-io.c:392 ../libsoup/soup-message-io.c:1020 -msgid "Operation would block" -msgstr "???????????????????? ???? ??????????????" - -#: ../libsoup/soup-message-io.c:972 ../libsoup/soup-message-io.c:1005 +#: libsoup/http1/soup-client-message-io-http1.c:715 +#: libsoup/http1/soup-client-message-io-http1.c:741 +#: libsoup/http2/soup-client-message-io-http2.c:1521 +#: libsoup/http2/soup-client-message-io-http2.c:1545 msgid "Operation was cancelled" msgstr "???????????????????? ?? ????????????????" -#: ../libsoup/soup-message-server-io.c:64 -msgid "Could not parse HTTP request" -msgstr "???????????????? ?????? HTTP ???? ???????? ???? ???????? ??????????????????????" +#: libsoup/http1/soup-message-io-data.c:105 +msgid "Header too big" +msgstr "?????????????????? ???????????? ???????????????? ????????" + +#: libsoup/server/soup-server.c:1202 +msgid "Can???t create a TLS server without a TLS certificate" +msgstr "???? ???????? ???? ???? ?????????????? ???????????? ?? TLS ?????? ???????????????????? ???????????????????? ???? TLS" -#: ../libsoup/soup-request.c:140 +#: libsoup/server/soup-server.c:1224 #, c-format -msgid "No URI provided" -msgstr "???? ?? ?????????? ??????????" +msgid "Could not listen on address %s, port %d: " +msgstr "???? ???????? ???? ???? ?????????? ???? ?????????? ???%s???, ???????? %d: " -#: ../libsoup/soup-request.c:150 -#, c-format -msgid "Invalid '%s' URI: %s" -msgstr "???????????????????? ?????????? ???? ???%s???: %s" +#: libsoup/server/soup-socket.c:121 +msgid "Could not import existing socket: " +msgstr "???????????????????????????? ???????????? ???? ???????? ???? ???????? ??????????????: " -#: ../libsoup/soup-server.c:1720 -msgid "Can't create a TLS server without a TLS certificate" -msgstr "???? ???????? ???? ???? ?????????????? ???????????? ?? TLS ?????? ???????????????????? ????????????????????" +#: libsoup/server/soup-socket.c:130 +msgid "Can???t import unconnected socket" +msgstr "????????????, ?????????? ???? ?? ????????????????, ???? ???????? ???? ???? ??????????" -#: ../libsoup/soup-server.c:1739 -#, c-format -msgid "Could not listen on address %s, port %d: " -msgstr "???? ???????? ???? ???? ?????????? ???? ?????????? ???%s???, ???????? %d: " +#: libsoup/soup-session.c:1169 +msgid "Location header is missing or empty in response headers" +msgstr "???????????????????? ???????? ???? ???????????????????????????? ?? ???????????????? ???????????? ?????? ?? ????????????" -#: ../libsoup/soup-session.c:4543 +#: libsoup/soup-session.c:1183 #, c-format -msgid "Could not parse URI '%s'" -msgstr "?????????????? ???%s??? ?? ????????????????????" +msgid "Invalid URI ???%s??? in Location response header" +msgstr "???????????????????? ?????????? ???%s??? ?? ???????????????????? ???????? ???? ????????????????????????????" -#: ../libsoup/soup-session.c:4580 -#, c-format -msgid "Unsupported URI scheme '%s'" -msgstr "?????????????? ???? ???????????? ???? ???? ???????????????? ???%s???" +#: libsoup/soup-session.c:1203 +msgid "Too many redirects" +msgstr "?????????????????? ?????????? ??????????????????????????" -#: ../libsoup/soup-session.c:4602 -#, c-format -msgid "Not an HTTP URI" -msgstr "???? ?? ?????????? ???? HTTP" +#: libsoup/soup-session.c:1208 +msgid "Message was restarted too many times" +msgstr "?????????????????????? ?? ???????????????????????? ?????????????????? ?????????? ????????" + +#: libsoup/soup-session.c:3320 libsoup/soup-session.c:3469 +msgid "Message is already in session queue" +msgstr "?????????????????????? ???????? ?? ?? ?????????????? ????????????" -#: ../libsoup/soup-session.c:4788 +#: libsoup/soup-session.c:3830 msgid "The server did not accept the WebSocket handshake." msgstr "???????????????? ???? ???????? ???????????????????????????? ???? WebSocket." -#: ../libsoup/soup-socket.c:148 -msgid "Can't import non-socket as SoupSocket" -msgstr "???? ???????? ???? ???? ?????????? ???????? ???????????? ???? soup ????????, ?????????? ???? ?? ????????????" +#: libsoup/soup-tld.c:142 +msgid "No public-suffix list available." +msgstr "???????????? ???????????? ?????? ?????????????? ???? ???????????????? ?????????????? (PSL/eTLD)." -#: ../libsoup/soup-socket.c:166 -msgid "Could not import existing socket: " -msgstr "???????????????????????????? ???????????? ???? ???????? ???? ???????? ??????????????: " +#: libsoup/soup-tld.c:152 libsoup/soup-tld.c:168 +msgid "Invalid hostname" +msgstr "???????????????????? ?????? ???? ????????????" -#: ../libsoup/soup-socket.c:175 -msgid "Can't import unconnected socket" -msgstr "????????????, ?????????? ???? ?? ????????????????, ???? ???????? ???? ???? ??????????" +#: libsoup/soup-tld.c:159 +msgid "Hostname is an IP address" +msgstr "?????????? ???? ???????????????? ?? ?????????? ???? IP" + +#: libsoup/soup-tld.c:180 +msgid "Hostname has no base domain" +msgstr "?????????? ???? ???????????????? ???? ?????????????? ????????????" + +#: libsoup/soup-tld.c:188 +msgid "Not enough domains" +msgstr "???????? ???????????????????? ??????????????" + +#: libsoup/websocket/soup-websocket.c:399 +#: libsoup/websocket/soup-websocket.c:443 +#: libsoup/websocket/soup-websocket.c:459 +msgid "Server requested unsupported extension" +msgstr "???????????????? ???????????? ???????????????????????? ????????????????????" + +#: libsoup/websocket/soup-websocket.c:422 +#: libsoup/websocket/soup-websocket.c:614 +#, c-format +msgid "Incorrect WebSocket ???%s??? header" +msgstr "???????????????????? ???????????????? ???????? ???%s??? ???? WebSocket" + +#: libsoup/websocket/soup-websocket.c:423 +#: libsoup/websocket/soup-websocket.c:878 +#, c-format +msgid "Server returned incorrect ???%s??? key" +msgstr "???????????????? ?????????? ???????????????????? ???????? ???%s???" + +#: libsoup/websocket/soup-websocket.c:486 +#, c-format +msgid "Duplicated parameter in ???%s??? WebSocket extension header" +msgstr "" +"???????????????? ???? ?????????????????? ?? ???%s??? ???????????????????? ???????? ???? ???????????????????? ???? WebSocket" + +#: libsoup/websocket/soup-websocket.c:487 +#, c-format +msgid "" +"Server returned a duplicated parameter in ???%s??? WebSocket extension header" +msgstr "" +"???????????????? ?????????? ???????????????? ???? ?????????????????? ?? ???%s??? ???????????????????? ???????? ???? ???????????????????? ???? " +"WebSocket" -#: ../libsoup/soup-websocket.c:338 ../libsoup/soup-websocket.c:347 +#: libsoup/websocket/soup-websocket.c:577 +#: libsoup/websocket/soup-websocket.c:587 msgid "WebSocket handshake expected" msgstr "???????????? ???? ???????????????????????? ???? WebSocket" -#: ../libsoup/soup-websocket.c:355 +#: libsoup/websocket/soup-websocket.c:595 msgid "Unsupported WebSocket version" msgstr "???????????????????????? ???????????? ???? WebSocket" -#: ../libsoup/soup-websocket.c:364 +#: libsoup/websocket/soup-websocket.c:604 msgid "Invalid WebSocket key" msgstr "???????????????????? ???????? ???? WebSocket" -#: ../libsoup/soup-websocket.c:374 -#, c-format -msgid "Incorrect WebSocket \"%s\" header" -msgstr "???????????????????? ???????????????? ???????? ???%s??? ???? WebSocket" - -#: ../libsoup/soup-websocket.c:383 +#: libsoup/websocket/soup-websocket.c:623 msgid "Unsupported WebSocket subprotocol" msgstr "?????????????????????? ?????????????????????? ???? WebSocket" -#: ../libsoup/soup-websocket.c:510 +#: libsoup/websocket/soup-websocket.c:829 msgid "Server rejected WebSocket handshake" msgstr "???????????????? ???????????????? ???????????????????????????? ???? WebSocket" -#: ../libsoup/soup-websocket.c:518 ../libsoup/soup-websocket.c:527 +#: libsoup/websocket/soup-websocket.c:837 +#: libsoup/websocket/soup-websocket.c:846 msgid "Server ignored WebSocket handshake" msgstr "???????????????? ?????????????????????? ???????????????????????????? ???? WebSocket" -#: ../libsoup/soup-websocket.c:539 +#: libsoup/websocket/soup-websocket.c:858 msgid "Server requested unsupported protocol" msgstr "???????????????? ???????????? ?????????????????????? ????????????????" - -#: ../libsoup/soup-websocket.c:549 -msgid "Server requested unsupported extension" -msgstr "???????????????? ???????????? ???????????????????????? ????????????????????" - -#: ../libsoup/soup-websocket.c:562 -#, c-format -msgid "Server returned incorrect \"%s\" key" -msgstr "???????????????? ?????????? ???????????????????? ???????? ???%s???" - -#: ../libsoup/soup-tld.c:188 -msgid "Hostname is an IP address" -msgstr "?????????? ???? ???????????????? ?? ?????????? ???? IP" - -#: ../libsoup/soup-tld.c:198 ../libsoup/soup-tld.c:220 -msgid "Invalid hostname" -msgstr "???????????????????? ?????? ???? ????????????" - -#: ../libsoup/soup-tld.c:250 -msgid "Hostname has no base domain" -msgstr "?????????? ???? ???????????????? ???? ?????????????? ????????????" - -#: ../libsoup/soup-tld.c:304 -msgid "Not enough domains" -msgstr "???????? ???????????????????? ??????????????" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/tests/meson.build new/libsoup-3.0.5/tests/meson.build --- old/libsoup-3.0.4/tests/meson.build 2022-01-06 03:48:16.223508000 +0100 +++ new/libsoup-3.0.5/tests/meson.build 2022-03-18 18:43:31.632027000 +0100 @@ -61,6 +61,8 @@ 'index.txt', 'test-cert.pem', 'test-key.pem', + 'test-cert-2.pem', + 'test-key-2.pem', install_dir : installed_tests_execdir ) endif @@ -108,7 +110,9 @@ if quart_found configure_file(input : 'http2-server.py', output : 'http2-server.py', - copy : true) + copy : true, + install : installed_tests_enabled, + install_dir : installed_tests_execdir) tests += [{'name': 'http2'}] endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsoup-3.0.4/tests/server-test.c new/libsoup-3.0.5/tests/server-test.c --- old/libsoup-3.0.4/tests/server-test.c 2022-01-06 03:48:16.229507700 +0100 +++ new/libsoup-3.0.5/tests/server-test.c 2022-03-18 18:43:31.639026900 +0100 @@ -247,6 +247,28 @@ } static void +do_invalid_percent_encoding_paths_test (ServerData *sd, gconstpointer test_data) +{ + SoupSession *session; + SoupMessage *msg; + GUri *uri; + + g_test_bug ("262"); + + session = soup_test_session_new (NULL); + + uri = g_uri_parse_relative (sd->base_uri, "/TestString1%00%0aTestString2", SOUP_HTTP_URI_FLAGS, NULL); + msg = soup_message_new_from_uri ("GET", uri); + g_uri_unref (uri); + + soup_test_session_send_message (session, msg); + soup_test_assert_message_status (msg, SOUP_STATUS_BAD_REQUEST); + g_object_unref (msg); + + soup_test_session_abort_unref (session); +} + +static void ipv6_server_callback (SoupServer *server, SoupServerMessage *msg, const char *path, @@ -1304,6 +1326,8 @@ server_setup, do_star_test, server_teardown); g_test_add ("/server/..-in-path", ServerData, NULL, server_setup, do_dot_dot_test, server_teardown); + g_test_add ("/server/invalid-percent-encoding-paths", ServerData, NULL, + server_setup, do_invalid_percent_encoding_paths_test, server_teardown); g_test_add ("/server/ipv6", ServerData, NULL, NULL, do_ipv6_test, server_teardown); g_test_add ("/server/multi/port", ServerData, NULL,