RST files are not properly rendered if they contain an image (with docutils=0.13.1)
First I thought it was related to the recent SVG XSS fix, but it seems that I can’t get back to a working version, even by reverting everything until 8.15…
Steps to reproduce
Just have some file.rst, insert an image like this:
.. image:: http://some_url/image
What is the current bug behavior?
In gitlab’s file browser, the file is displayed as plain text.
What is the expected correct behavior?
Should be rendered like any other file (markdown or rst)
Results of GitLab environment info
System information
System:
Current User: gitlab
Using RVM: no
Ruby Version: 2.3.3p222
Gem Version: 2.4.8
Bundler Version:1.13.6
Rake Version: 10.5.0
Sidekiq Version:4.2.7
GitLab information
Version: 8.16.5
Revision: 064dab1
Directory: /home/gitlab/gitlab
DB Adapter: postgresql