diff --git a/miniupnpc/Changelog.txt b/miniupnpc/Changelog.txt index 1e79adb..8d2808e 100644 --- a/miniupnpc/Changelog.txt +++ b/miniupnpc/Changelog.txt @@ -1,6 +1,9 @@ -$Id: Changelog.txt,v 1.257 2023/06/11 23:25:45 nanard Exp $ +$Id: Changelog.txt,v 1.259 2023/06/15 22:42:36 nanard Exp $ miniUPnP client Changelog. +2023/06/15: + Make User-Agent compliant. + VERSION 2.2.5 : released 2023/06/12 2023/06/05: diff --git a/miniupnpc/src/minisoap.c b/miniupnpc/src/minisoap.c index 7860667..5967ca2 100644 --- a/miniupnpc/src/minisoap.c +++ b/miniupnpc/src/minisoap.c @@ -1,8 +1,8 @@ -/* $Id: minisoap.c,v 1.30 2020/11/09 19:27:42 nanard Exp $ */ +/* $Id: minisoap.c,v 1.31 2023/06/15 21:47:50 nanard Exp $ */ /* vim: tabstop=4 shiftwidth=4 noexpandtab * Project : miniupnp * Author : Thomas Bernard - * Copyright (c) 2005-2020 Thomas Bernard + * Copyright (c) 2005-2023 Thomas Bernard * This software is subject to the conditions detailed in the * LICENCE file provided in this distribution. * @@ -90,7 +90,7 @@ int soapPostSubmit(SOCKET fd, headerssize = snprintf(headerbuf, sizeof(headerbuf), "POST %s HTTP/%s\r\n" "Host: %s%s\r\n" - "User-Agent: " OS_STRING ", " UPNP_VERSION_STRING ", MiniUPnPc/" MINIUPNPC_VERSION_STRING "\r\n" + "User-Agent: " OS_STRING " " UPNP_VERSION_STRING " MiniUPnPc/" MINIUPNPC_VERSION_STRING "\r\n" "Content-Length: %d\r\n" "Content-Type: text/xml\r\n" "SOAPAction: \"%s\"\r\n" diff --git a/miniupnpc/src/miniwget.c b/miniupnpc/src/miniwget.c index d5b7970..e76a5e5 100644 --- a/miniupnpc/src/miniwget.c +++ b/miniupnpc/src/miniwget.c @@ -1,8 +1,8 @@ -/* $Id: miniwget.c,v 1.82 2020/05/29 21:14:22 nanard Exp $ */ +/* $Id: miniwget.c,v 1.85 2023/06/15 21:47:50 nanard Exp $ */ /* Project : miniupnp * Website : http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/ * Author : Thomas Bernard - * Copyright (c) 2005-2020 Thomas Bernard + * Copyright (c) 2005-2023 Thomas Bernard * This software is subject to the conditions detailed in the * LICENCE file provided in this distribution. */ @@ -444,7 +444,7 @@ miniwget3(const char * host, "GET %s HTTP/%s\r\n" "Host: %s:%d\r\n" "Connection: Close\r\n" - "User-Agent: " OS_STRING ", " UPNP_VERSION_STRING ", MiniUPnPc/" MINIUPNPC_VERSION_STRING "\r\n" + "User-Agent: " OS_STRING " " UPNP_VERSION_STRING " MiniUPnPc/" MINIUPNPC_VERSION_STRING "\r\n" "\r\n", path, httpversion, host, port);