This issue explicitly only target 16.10.6 even though the breakage was also in the master branch and the commit for this issue will end up in XWiki 17.2.0RC1 as XWiki 16.10.5 is the only release that contains the regression.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.