Question: HTML page output in history - no css gets loaded
0
gravatar for bankapur
2.8 years ago by
bankapur • 0
United States
bankapur • 0 wrote:

Hello,

My pipeline produces an html report with links to other html pages. I have integrated this report into my galaxy instance as a tool output using the following information:

https://wiki.galaxyproject.org/Admin/Tools/Multiple%20Output%20Files#Use_an_html_output_file

However the css involved in the in index page doesn't get loaded. There is no error message I see in the debugger console. Any ideas as to how I can achieve this?

Thank you,

Asma

 

 

 

html history • 1.0k views
ADD COMMENT • link • modified 2.8 years ago by Dannon Baker ♦ 3.7k • written 2.8 years ago by bankapur • 0
1
gravatar for Dannon Baker
2.8 years ago by
Dannon Baker ♦ 3.7k
United States
Dannon Baker ♦ 3.7k wrote:

Hi Asma,

Have you whitelisted the tool output in your Galaxy instance?  By default, all outputs viewed in Galaxy go through some display sanitization for security reasons, which might be causing this issue for you.  You can find the whitelist in the Galaxy admin panel under "Manage Display Whitelist".

ADD COMMENT • link written 2.8 years ago by Dannon Baker ♦ 3.7k

Hi Dannon,

Thank you for your reply. I couldn't find "Manage Display Whitelist" under Galaxy admin panel however I switched the following settings in galaxy.ini file:

sanitize_all_html = False

serve_xss_vulnerable_mimetypes = True

This helped in getting the proper css to load, however the JS associated with the page doesn't get loaded and error I receive in the console is as follows:

Refused to execute script from 'http://myinstance.galaxy.org:8088/datasets/230ca48747e433cc/display/search.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Is there some other setting in galaxy that needs to be turned on/off to enable js?

Thank you,

Asma

 

ADD REPLY • link written 2.8 years ago by bankapur • 0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 172 users visited in the last hour