/*
- * $Id: url.cc,v 1.52 1997/02/03 23:03:08 wessels Exp $
+ * $Id: url.cc,v 1.53 1997/02/19 00:03:48 wessels Exp $
*
* DEBUG: section 23 URL Parsing
* AUTHOR: Duane Wessels
debug(23, 0, "urlParse: Invalid port == 0\n");
return NULL;
}
+#ifdef REMOVE_FTP_TRAILING_SLASHES
/* remove trailing slashes from FTP URLs */
if (protocol == PROTO_FTP) {
t = urlpath + strlen(urlpath);
while (t > urlpath && *(--t) == '/')
*t = '\0';
}
+#endif
request = get_free_request_t();
request->method = method;
request->protocol = protocol;