Skip to content

Backport 'Fix proposal etiquette and length validator with base64 images' to v0.27#10009

Merged
ahukkanen merged 3 commits intorelease/0.27-stablefrom
backport/0.27/fix-proposal-etiquette-and-len-9639
Nov 4, 2022
Merged

Backport 'Fix proposal etiquette and length validator with base64 images' to v0.27#10009
ahukkanen merged 3 commits intorelease/0.27-stablefrom
backport/0.27/fix-proposal-etiquette-and-len-9639

Conversation

@andreslucena
Copy link
Copy Markdown
Member

🎩 What? Why?

Backport #9639 to v0.27

♥️ Thank you!

* Fix proposal etiquette and length validator with base64 images

* Use strip_tags instead of nokogiri not to include hidden content

Content e.g. in `<script>` tags should be automatically hidden,
so this should not be included in the validation either.

* Fix the expected base64 mime types
@andreslucena andreslucena added backport Pull Requests that are a backport for a fixed bug module: core module: proposals type: fix PRs that implement a fix for a bug labels Oct 28, 2022
@ahukkanen ahukkanen merged commit 23851e6 into release/0.27-stable Nov 4, 2022
@ahukkanen ahukkanen deleted the backport/0.27/fix-proposal-etiquette-and-len-9639 branch November 4, 2022 06:30
@alecslupu alecslupu added this to the 0.27.1 milestone Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Pull Requests that are a backport for a fixed bug module: core module: proposals type: fix PRs that implement a fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants