Welcome! Log In Create A New Profile

Advanced

[PATCH]Fix the error in inet6 url parse

March 03, 2011 07:50AM
--- nginx-0.9.5/src/core/ngx_inet.c 2011-02-17 07:01:16.000000000 -0800
+++ nginx-0.9.5/src/core/ngx_inet2.c 2011-03-02 05:48:53.737646990 -0800
@@ -826,7 +826,11 @@
if (*port == ':') {
port++;

- len = last - port;
+ if (uri) {
+ len = uri - port;
+ } else {
+ len = last - port;
+ }

if (len == 0) {
u->err = "invalid port";
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH]Fix the error in inet6 url parse

speedfirst 1723 March 03, 2011 07:50AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 61
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready