Skip to content

Commit

Permalink
Fix ClientServlet which doesn't parse write attributes correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernard31 committed Sep 1, 2023
1 parent 93a4e09 commit 9e14443
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws Se
// create & process request WriteAttributes request
target = StringUtils.removeEnd(target, path[path.length - 1]);
LwM2mAttributeSet attributes = new LwM2mAttributeSet(
attributeParser.parseQueryParams(req.getQueryString()));
attributeParser.parseUriQuery(req.getQueryString()));
WriteAttributesRequest request = new WriteAttributesRequest(target, attributes);
WriteAttributesResponse cResponse = server.send(registration, request, extractTimeout(req));
processDeviceResponse(req, resp, cResponse);
Expand Down

0 comments on commit 9e14443

Please sign in to comment.