Skip to content

Commit

Permalink
Merge pull request #59 from ieven/lichong
Browse files Browse the repository at this point in the history
fix request parameters couldn't be got when SlowOperSupporter is opened
  • Loading branch information
zxy0728 authored Nov 24, 2017
2 parents 534fc45 + 9098ebc commit 15ef2ab
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ protected void doRequest(HttpServletRequest request, HttpServletResponse respons

context.put(InterceptConstants.HTTPRESPONSE, responseWrapper);

// 由于application/x-www-form-urlencoded
// 形式传参时获取inputsteam会删除parameters,故在添加wrapper时先通过调用getParameterMap方法lock(tomcat源码进行)parameters
request.getParameterMap();

RewriteIvcRequestWrapper requestWrapper = new RewriteIvcRequestWrapper(request, "IVC_DAT");

context.put(InterceptConstants.HTTPREQUEST, requestWrapper);
Expand Down

0 comments on commit 15ef2ab

Please sign in to comment.