Replies: 6 comments 5 replies
-
Hello Does someone have a workaround for that ? |
Beta Was this translation helpful? Give feedback.
-
Just disable this button. |
Beta Was this translation helpful? Give feedback.
-
First click Edit Visualization under Table, then click on the column you want to turn off HTML rendering, and finally turn off the button above. |
Beta Was this translation helpful? Give feedback.
-
I wish there were an option to disable it by default globally. Several times already it misled our analysts by "fixing" things like |
Beta Was this translation helpful? Give feedback.
-
@ezraodio1 proposed a change to change the default for "Allow HTML content" in #7064 |
Beta Was this translation helpful? Give feedback.
-
If we change the default, it's not going to break people who upgrade their existing installations is it? |
Beta Was this translation helpful? Give feedback.
-
Rendering HTML from results can sometimes be nice, but more often than not, it's not what I want. When your database contains untrusted input from a web application that may contain HTML, the last thing I want is for Redash to render it automatically -- even if the HTML is sanitized. The sanitization process allows arbitrary images and stylesheets to be loaded, which means selecting content from the database might end up rendering abusive or otherwise offensive content on the screen, or even be used to deliver malicious content. The feature is neat but frankly it's inappropriate to have enabled by default.
Attached is a screenshot of a row that contains CSS that sets every element's background to an animated gif of a cat jumping out of a box. It's clear I put that in there myself, but when running a web application that accepts content from the general public, it's not an entirely unrealistic situation.
There doesn't appear to be much documentation around HTML rendering, nor does there appear to be a setting to disable this within a single query or as a whole for the org. Is there something I'm missing? I searched issues and discussions and couldn't find anything on the topic either.
Beta Was this translation helpful? Give feedback.
All reactions