Skip to content

Commit

Permalink
fix compilation with modern nginx: no more support for space_in_uri
Browse files Browse the repository at this point in the history
  • Loading branch information
msva committed Aug 20, 2021
1 parent a246505 commit fcbb2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ngx_http_ajp.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ sc_for_req_get_uri(ngx_http_request_t *r, ngx_str_t *uri)

escape = 0;

if (r->quoted_uri || r->space_in_uri || r->internal) {
if (r->quoted_uri || r->internal) {
escape = 2 * ngx_escape_uri(NULL, r->uri.data,
r->uri.len, NGX_ESCAPE_URI);
}
Expand Down

0 comments on commit fcbb2cc

Please sign in to comment.