Skip to content

Commit

Permalink
#179 Remove trailing slash from location header
Browse files Browse the repository at this point in the history
  • Loading branch information
openwms committed Jun 13, 2024
1 parent 419dba5 commit 8a0171d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ protected URI getLocationURIForCreatedResource(HttpServletRequest req, String ob
url.append(prefix);
}
url.append(req.getRequestURI());
url.append("/{objId}/");
url.append("/{objId}");
return new UriTemplate(url.toString()).expand(objId);
}

Expand Down

0 comments on commit 8a0171d

Please sign in to comment.