forked from pool/cpprest
Accepting request 1131489 from home:1Antoine1:branches:devel:libraries:c_c++
- 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.
OBS-URL: https://build.opensuse.org/request/show/1131489
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=55
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 6 20:41:44 UTC 2023 - Antoine Belvire <antoine.belvire@opensuse.org>
|
||||
|
||||
- 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 <antoine.belvire@opensuse.org>
|
||||
|
||||
|
||||
14
cpprest.spec
14
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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6bd74a637ff182144b6a4271227ea8b6b3ea92389f88b25b215e6f94fd4d41cb
|
||||
size 1747792
|
||||
3
cpprestsdk-2.10.19.tar.gz
Normal file
3
cpprestsdk-2.10.19.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4b0d14e5bfe77ce419affd253366e861968ae6ef2c35ae293727c1415bd145c8
|
||||
size 1749647
|
||||
Reference in New Issue
Block a user