Parcourir la source

HTTP/2 needs to set local_uri_raw

Fix from https://github.com/civetweb/civetweb/issues/875#issuecomment-962513642
gajanak il y a 3 ans
Parent
commit
19d1609b51
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 1 0
      CREDITS.md
  2. 1 0
      src/mod_http2.inl

+ 1 - 0
CREDITS.md

@@ -62,6 +62,7 @@
 * Fernando G. Aranda
 * Frank Hilliger
 * Gábor Csárdi
+* gajanak
 * Girish Joshi
 * goodmenzy
 * Grahack

+ 1 - 0
src/mod_http2.inl

@@ -1546,6 +1546,7 @@ handle_http2(struct mg_connection *conn)
 					} else if (!strcmp(":path", key)) {
 						conn->request_info.local_uri = val;
 						conn->request_info.request_uri = val;
+						conn->request_info.local_raw = val;
 					} else if (!strcmp(":status", key)) {
 						conn->status_code = atoi(val);
 					}