The attached patch includes additional tests for
WebUtils#getFormatFromURI
. The existing assertions in WebUtilsTest only cover the cases where the URI actually includes a format. These additional assertions cover the scenarios where the URI contains no format and #getFormatFromURI must return null.
applied. thanks