-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
If the URL ends in / the UDPXY-like processing does not work. A solution would be to strip trailing / like this:
if (url[strlen(url)-1] == '/') {
logger(LOG_DEBUG, "Stripping trailing /: %s\n", url);
url[strlen(url)-1] = '\0';
}
A good place would be to put this in src/httpclients.c right above:
urlfrom = rindex(url, '/');
Metadata
Metadata
Assignees
Labels
No labels