APACHE 1.3 STATUS: -*-text-*-
- Last modified at [$Date: 2004/03/25 14:14:11 $]
+ Last modified at [$Date: 2004/03/29 17:53:09 $]
Release:
2.0 : Available for general use, see httpd-2.0 repository
RELEASE SHOWSTOPPERS:
- * Port value in Host: header ignored for UseCanonicalName != On.
- Message-Id: <36DFE9DE-7924-11D8-9C02-000393D76AB8@jaguNET.com>
- <200403221440.i2MEeoJ15923@devsys.jaguNET.com>
+
+ * PR: 27023 Cookie could not delivered if the cookie made before
+ proxy module.
RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP:
char *host = ap_palloc(r->pool, strlen(r->hostname) + 1);
const char *src;
char *dst;
+ char *port_str;
/* check and copy the host part */
src = r->hostname;
goto bad;
}
if (*src == ':') {
+ port_str = src + 1;
/* check the port part */
while (*++src) {
if (!ap_isdigit(*src)) {
}
if (src[-1] == ':')
goto bad;
- else
+ else {
+ /* a known "good" port value */
+ r->parsed_uri.port_str = ap_pstrdup(r->pool, port_str);
+ r->parsed_uri.port = atoi(r->parsed_uri.port_str);
break;
+ }
}
*dst++ = *src++;
}