Changes with Apache 1.3.32
+ *) COMPATIBILITY: Added new compile-time flag: UCN_OFF_HONOR_PHYSICAL_PORT.
+ It controls how UseCanonicalName Off determines the port value if
+ the client doesn't provide one in the Host header. If defined during
+ compilation, UseCanonicalName Off will use the physical port number to
+ generate the canonical name. If not defined, it trys the current Port
+ value followed by the default port for the current scheme.
+ [Jim Jagielski]
+
Changes with Apache 1.3.31
*) SECURITY: CAN-2003-0987 (cve.mitre.org)
* any are supplied (otherwise it will use the canonical name).
*/
port = r->parsed_uri.port_str ? r->parsed_uri.port :
+#ifdef UCN_OFF_HONOR_PHYSICAL_PORT
cport ? cport :
+#endif
r->server->port ? r->server->port :
ap_default_port(r);
} else { /* d->use_canonical_name == USE_CANONICAL_NAME_ON */