html output with javascript
Hello galaxy users, one of my tools returns an html output in which I have links to images and javascripts. Images and Javascripts of the dataset_XXX.dat file are located in a dataset_XXX_files directory. Images are well displayed in galaxy output but javascripts aren't executed. Even an alert('foo') cannot be retrieved. Has somebody already experiment this ? In other related posts, it's said to look at rgenetics fastqc wrapper but no javascript fonctions are called in the fastqc_report.html. Thanks, Laure
Hi Laure, This is intentional behavior; galaxy sanitizes all html output as a security measure by default. You can turn this off on your instance by changing "sanitize_all_html" to False in your universe_wsgi.ini. There's a Trello card to track implementation of allowing administrators to individually pick which tools to trust, which you can see (and vote for, or follow) here: https://trello.com/c/8iMhKlPX -Dannon On Wed, Feb 5, 2014 at 9:44 AM, Laure QUINTRIC <Laure.Quintric@ifremer.fr>wrote:
Hello galaxy users,
one of my tools returns an html output in which I have links to images and javascripts. Images and Javascripts of the dataset_XXX.dat file are located in a dataset_XXX_files directory. Images are well displayed in galaxy output but javascripts aren't executed. Even an alert('foo') cannot be retrieved.
Has somebody already experiment this ? In other related posts, it's said to look at rgenetics fastqc wrapper but no javascript fonctions are called in the fastqc_report.html.
Thanks, Laure ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
Hi Dannon, It works after setting sanitize_all_html to True, thanks a lot. Laure Le 05/02/2014 16:42, Dannon Baker a écrit :
Hi Laure,
This is intentional behavior; galaxy sanitizes all html output as a security measure by default. You can turn this off on your instance by changing "sanitize_all_html" to False in your universe_wsgi.ini.
There's a Trello card to track implementation of allowing administrators to individually pick which tools to trust, which you can see (and vote for, or follow) here: https://trello.com/c/8iMhKlPX
-Dannon
On Wed, Feb 5, 2014 at 9:44 AM, Laure QUINTRIC <Laure.Quintric@ifremer.fr <mailto:Laure.Quintric@ifremer.fr>> wrote:
Hello galaxy users,
one of my tools returns an html output in which I have links to images and javascripts. Images and Javascripts of the dataset_XXX.dat file are located in a dataset_XXX_files directory. Images are well displayed in galaxy output but javascripts aren't executed. Even an alert('foo') cannot be retrieved.
Has somebody already experiment this ? In other related posts, it's said to look at rgenetics fastqc wrapper but no javascript fonctions are called in the fastqc_report.html.
Thanks, Laure _____________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/__search/mailinglists/ <http://galaxyproject.org/search/mailinglists/>
participants (2)
-
Dannon Baker
-
Laure QUINTRIC