strlcat(*url_str, url->host, HTTP_URL_MAXLEN);
if (url->port) {
- char port_str[6] = {0};
+ char port_str[8] = {0};
- snprintf(port_str, 5, "%d", (int) url->port);
+ snprintf(port_str, lenof(port_str), "%d", (int) url->port);
strlcat(*url_str, ":", HTTP_URL_MAXLEN);
strlcat(*url_str, port_str, HTTP_URL_MAXLEN);
}
</lead>
<date>2006-00-00</date>
<version>
- <release>0.24.0</release>
+ <release>0.24.1</release>
<api>0.24.0</api>
</version>
<stability>
</stability>
<license>BSD, revised</license>
<notes><![CDATA[
-+ Added If-Range header recognition.
-+ Added "portrange" request option.
-+ Added HttpQueryString::iconv().
-+ HttpQueryString implements Serializable (PHP-5.1).
-
-* Fixed bug #6804 - configure does not recognize '--without-http-zlib-compression'.
-* Fixed cases where '412 Precondition failed' responses should be sent.
-* Fixed message chain order in HttpRequest::getHistory().
+* Fixed bug #6861 - 5 digit ports get truncated
]]></notes>
<contents>
<dir name="/">
#ifndef PHP_EXT_HTTP_H
#define PHP_EXT_HTTP_H
-#define PHP_EXT_HTTP_VERSION "0.24.0"
+#define PHP_EXT_HTTP_VERSION "0.24.1"
#ifdef HAVE_CONFIG_H
# include "config.h"