/*
- * $Id: url.cc,v 1.45 1996/11/22 08:37:52 wessels Exp $
+ * $Id: url.cc,v 1.46 1996/11/25 17:42:54 wessels Exp $
*
* DEBUG: section 23 URL Parsing
* AUTHOR: Duane Wessels
debug(23, 0, "urlParse: Invalid port == 0\n");
return NULL;
}
+ /* remove trailing slashes from FTP URLs */
+ t = urlpath + strlen(urlpath);
+ while (*(--t) == '/')
+ *t = '\0';
request = get_free_request_t();
request->method = method;
request->protocol = protocol;