URL attachments are now returned as data and not redirection. If the url does not match with a module file, the 301 status (redirection) is still returned. This allows to use the /web/image/<xmlid>/<dimension> route and get an image attachment with correct dimensions.