Opened 11 years ago

Closed 11 years ago

#383 closed defect (invalid)

nginx 1.4.1 以及1.51 版本 报错

Reported by: zeng hongl Owned by:
Priority: blocker Milestone: 1.5
Component: nginx-core Version: 1.3.x
Keywords: Cc:
uname -a: Linux r1.cd 2.6.32-279.14.1.el6.x86_64 #1 SMP Tue Nov 6 23:43:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.4.1
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC)
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-mail --with-mail_ssl_module --with-file-aio --with-http_image_filter_module --with-cc-opt='-O2 -g' --add-module=../nginx-http-concat/ --add-module=../ngx_cache_purge/

Description

在使用nginx时,只要url地址中出现空格H 就会报400错误,
地址如下:

curl "http://nginx.org/? H"

Change History (1)

comment:1 by Maxim Dounin, 11 years ago

Resolution: invalid
Status: newclosed

The request generated by the command in question is invalid and expected to return 400 Bad Request.

Note: See TracTickets for help on using tickets.