phroxy

Gopher to HTTP proxy
git clone git://git.z3bra.org/phroxy.git
Log | Files | Refs | LICENSE

commit 4c0ea205738fb85c00e1dba8a8cfbe87ea614119
parent c98cfd1ee68525144b1041c72d41b14febb33677
Author: Willy Goiffon <dev@z3bra.org>
Date:   Tue, 15 Sep 2020 15:09:33 +0200

Accept selectors not beginning with / (eg. "URL:")

Diffstat:
Mphroxy.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/phroxy.c b/phroxy.c @@ -371,7 +371,7 @@ phroxy(char *url) item = '1'; path = strsep(&url, "\0"); - if (!path || *path != '/') + if (!path || *path == '\0') path = "/"; if((srch = strchr(path, '?')))