Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX - Incomplete use of htmlSafe() on Cell.style #586

Merged
merged 1 commit into from
Oct 11, 2018
Merged

FIX - Incomplete use of htmlSafe() on Cell.style #586

merged 1 commit into from
Oct 11, 2018

Conversation

ghost
Copy link

@ghost ghost commented Sep 10, 2018

Seeing large numbers of these warnings: Binding style attributes may introduce cross-site scripting vulnerabilities ... on Ember 3.3.2.

The empty string being returned when there is no columnWidth needed to be wrapped in htmlSafe() or changed to null. Also I think the htmlSafe() call needs to wrap the entire width: ... style.

Seeing large numbers of these warnings: `Binding style attributes may introduce cross-site scripting vulnerabilities ...` on Ember 3.3.2.

The empty string being returned when there is no `columnWidth` needed to be wrapped in `htmlSafe()` or changed to `null`. Also I think the `htmlSafe()` call needs to wrap the entire `width: ...` style.
@Techn1x
Copy link

Techn1x commented Sep 20, 2018

I'm getting this issue too. I'm running Ember 3.2.2, super annoying because it clogs up my console XD (1 warning for every cell, since all of my columns have no defined width)

@donaldwasserman
Copy link
Contributor

donaldwasserman commented Oct 10, 2018

CC: @alexander-alvarez @buschtoens any update on getting this merged in? Thanks for taking a look at it!

FWIW - I added this + the removal of the sendAction deprecations to my fork at donaldwasserman/ember-light-table#prod, although YMMV

@alexander-alvarez alexander-alvarez merged commit 9bd2db3 into adopted-ember-addons:master Oct 11, 2018
@alexander-alvarez
Copy link
Collaborator

Sorry for the delay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants