You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/06/01 14:42:17 UTC

[incubator-nuttx-apps] branch master updated: webclient: Remove an extra slash for proxy

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new a46b144ab webclient: Remove an extra slash for proxy
a46b144ab is described below

commit a46b144ab111fece12d6985caf98034654a0c162
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Wed Jun 1 12:07:42 2022 +0900

    webclient: Remove an extra slash for proxy
---
 netutils/webclient/webclient.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/netutils/webclient/webclient.c b/netutils/webclient/webclient.c
index 09f11117d..aeb6aad2d 100644
--- a/netutils/webclient/webclient.c
+++ b/netutils/webclient/webclient.c
@@ -1447,7 +1447,6 @@ int webclient_perform(FAR struct webclient_context *ctx)
               dest = append(dest, ep, ":");
               snprintf(port_str, sizeof(port_str), "%u", ws->target.port);
               dest = append(dest, ep, port_str);
-              dest = append(dest, ep, "/");
               dest = append(dest, ep, ws->target.filename);
             }
           else