File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,8 @@ fn into_websocket_request(ag: ApiGatewayWebsocketProxyRequest) -> http::Request<
277
277
. get ( http:: header:: HOST )
278
278
. and_then ( |s| s. to_str ( ) . ok ( ) )
279
279
. or ( ag. request_context . domain_name . as_deref ( ) ) ;
280
- let path = apigw_path_with_stage ( & ag. request_context . stage , & ag. path . unwrap_or_default ( ) ) ;
280
+ let raw_path = ag. path . unwrap_or_default ( ) ;
281
+ let path = apigw_path_with_stage ( & ag. request_context . stage , & raw_path) ;
281
282
282
283
let builder = http:: Request :: builder ( )
283
284
. uri ( build_request_uri (
@@ -286,6 +287,7 @@ fn into_websocket_request(ag: ApiGatewayWebsocketProxyRequest) -> http::Request<
286
287
host,
287
288
Some ( ( & ag. multi_value_query_string_parameters , & ag. query_string_parameters ) ) ,
288
289
) )
290
+ . extension ( RawHttpPath ( raw_path) )
289
291
// multi-valued query string parameters are always a super
290
292
// set of singly valued query string parameters,
291
293
// when present, multi-valued query string parameters are preferred
You can’t perform that action at this time.
0 commit comments