Home | History | Annotate | Download | only in httpd

Lines Matching refs:url

332 		"url: method: \"%s\" file: \"%s\" query: \"%s\" proto: \"%s\"",
761 * can more properly parse the method and the url.
898 debug((httpd, DEBUG_FAT, "bozo_read_request returns url %s in request",
990 * given an url, encode it ala rfc 3986. ie, escape ? and friends.
996 bozo_escape_rfc3986(bozohttpd_t *httpd, const char *url, int absolute)
1004 len = strlen(url);
1010 for (s = url, d = buf; *s;) {
1056 * the URL we will tack these on to the new (redirected) URL.
1059 handle_redirect(bozo_httpreq_t *request, const char *url, int absolute)
1071 if (url == NULL) {
1073 url = urlbuf;
1079 bozoasprintf(httpd, &userbuf, "/~%s%s", request->hr_user, url);
1080 url = userbuf;
1095 /* 1. check if url contains :// */
1096 sep = strstr(url, "://");
1103 for (s = url; s != sep;) {
1114 /* construct final redirection url */
1132 url = bozo_escape_rfc3986(httpd, url, absolute);
1142 scheme, hostname, portbuf, url, quest, query);
1233 * /this/url:/replacement/that/url
1429 "unknown URL");
1643 bozo_http_error(httpd, 404, request, "unknown URL");
2101 bozo_escape_html(bozohttpd_t *httpd, const char *url)
2107 for (i = 0, j = 0; url[i]; i++) {
2108 switch (url[i]) {
2129 len = strlen(url) + j;
2135 for (i = 0, j = 0; url[i]; i++) {
2136 switch (url[i]) {
2154 tmp[j++] = url[i];