yaoweibin / nginx_ajp_module

support AJP protocol proxy with Nginx
http://github.com/yaoweibin/nginx_ajp_module
246 stars 60 forks source link

Fixed compatibility with NGINX v1.21.1+ #52

Open tao12345666333 opened 1 year ago

tao12345666333 commented 1 year ago

closes: https://github.com/yaoweibin/nginx_ajp_module/issues/51

Since NGINX removed support for spaces in URIs, we need to remove space_in_uri too.

From now on, requests with spaces in URIs are immediately rejected rather than allowed. Spaces were allowed in 31e9677b15a1 (0.8.41) to handle bad clients. It is believed that now this behaviour causes more harm than good.

https://github.com/nginx/nginx/commit/05395f4889cf0b66e8d049921ad19f1a08319150

Signed-off-by: Jintao Zhang zhangjintao9020@gmail.com

cc @yaoweibin

tao12345666333 commented 1 year ago

@yaoweibin PTAL, thanks!