diff --git a/cpprest.changes b/cpprest.changes index 5d53f51..f4dd900 100644 --- a/cpprest.changes +++ b/cpprest.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Dec 6 20:41:44 UTC 2023 - Antoine Belvire + +- Update to 2.10.19: + * Make Uri.is_host_loopback() only return true for localhost and 127.0.0.1 exactly. + The old behavior could potentially return "true" for URLs that were not, in fact, local, + and this could cause security issues if is_host_loopback was used in certain ways. + * Fix likely typo in SafeInt3.hpp, that results in error with clang 15 + * Support for oauth2 with "client_credentials" grant type. + * Add constructor from all integer types for json value. + * Export http_exception for non Windows builds using visibility macros. + ------------------------------------------------------------------- Sun Feb 7 13:57:13 UTC 2021 - Antoine Belvire diff --git a/cpprest.spec b/cpprest.spec index 0cda3b2..7246a9a 100644 --- a/cpprest.spec +++ b/cpprest.spec @@ -1,7 +1,7 @@ # # spec file for package cpprest # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define major 2 %define minor 10 Name: cpprest -Version: 2.10.18 +Version: 2.10.19 Release: 0 Summary: C++ REST library # main: MIT (license.txt) @@ -28,9 +28,9 @@ Summary: C++ REST library # sha1/sha1.hpp: BSD-3-Clause (ThirdPartyNotices.txt) # common/md5.hpp: Zlib (ThirdPartyNotices.txt) # utf8_validation.hpp: MIT (ThirdPartyNotices.txt) -License: MIT AND BSD-3-Clause AND Zlib +License: BSD-3-Clause AND MIT AND Zlib URL: https://github.com/Microsoft/cpprestsdk -Source: https://github.com/Microsoft/cpprestsdk/archive/%{version}/cpprestsdk-%{version}.tar.gz +Source: https://github.com/Microsoft/cpprestsdk/archive/v%{version}/cpprestsdk-%{version}.tar.gz # PATCH-FIX-UPSTREAM -- https://github.com/Microsoft/cpprestsdk/issues/576 Patch1: cpprest-2.10.9-disable-test-extract_floating_point.patch # PATCH-FIX-UPSTREAM -- https://github.com/microsoft/cpprestsdk/pull/1557 @@ -99,10 +99,10 @@ exec_prefix=%{_prefix} libdir=%{_libdir} includedir=%{_includedir} -Name: %{name} +Name: %{name} Description: cloud-based client-server communication -URL: %{url} -Version: %{version} +URL: %{url} +Version: %{version} Libs: -L%{_libdir} -lcpprest Cflags: -I%{_includedir}/cpprest -I%{_includedir}/pplx EOF diff --git a/cpprestsdk-2.10.18.tar.gz b/cpprestsdk-2.10.18.tar.gz deleted file mode 100644 index 7a7657b..0000000 --- a/cpprestsdk-2.10.18.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6bd74a637ff182144b6a4271227ea8b6b3ea92389f88b25b215e6f94fd4d41cb -size 1747792 diff --git a/cpprestsdk-2.10.19.tar.gz b/cpprestsdk-2.10.19.tar.gz new file mode 100644 index 0000000..d6d079e --- /dev/null +++ b/cpprestsdk-2.10.19.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b0d14e5bfe77ce419affd253366e861968ae6ef2c35ae293727c1415bd145c8 +size 1749647