Skip to content

Commit 8a0171d

Browse files
committed
#179 Remove trailing slash from location header
1 parent 419dba5 commit 8a0171d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.openwms.core.util/src/main/java/org/openwms/core/http/AbstractWebController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ protected URI getLocationURIForCreatedResource(HttpServletRequest req, String ob
290290
url.append(prefix);
291291
}
292292
url.append(req.getRequestURI());
293-
url.append("/{objId}/");
293+
url.append("/{objId}");
294294
return new UriTemplate(url.toString()).expand(objId);
295295
}
296296

0 commit comments

Comments
 (0)