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

use MarkupSafe for escaping #400

Merged
merged 1 commit into from Jun 5, 2018
Merged

use MarkupSafe for escaping #400

merged 1 commit into from Jun 5, 2018

Conversation

davidism
Copy link
Member

@davidism davidism commented Jun 5, 2018

closes #396

Backwards incompatible 3.0 change. Removes escape_html for markupsafe.esacpe and HTMLString for markupsafe.Markup.

removes escape_html and HTMLString
@davidism davidism added this to the 3.0 milestone Jun 5, 2018
@davidism davidism self-assigned this Jun 5, 2018
@davidism davidism merged commit 9e2ce44 into master Jun 5, 2018
1 check passed
@davidism davidism deleted the markupsafe branch Jun 5, 2018
azmeuk added a commit to azmeuk/wtforms that referenced this issue Apr 20, 2020
bodik added a commit to bodik/sner4 that referenced this issue Jun 2, 2020
…returns plain 500

ipv6 validator was fixed in wtforms 2.3.1 (wtforms/wtforms#403)
but in the same html escaping mechanism was changed to Markupsafe (wtforms/wtforms#400)
which requires all string literals to be explicitly marked as safe
kaxil added a commit to astronomer/airflow that referenced this issue Jun 23, 2020
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: wtforms/wtforms#400

That change previously broke Airflow for new users (in 2.3.0). However on users request they added `HTMLString` that just passes all args to `markupsafe.MarkUp` back for temporary Backward compatbility with deprecation warning in 2.3.1. Details: wtforms/wtforms#581
kaxil added a commit to astronomer/airflow that referenced this issue Jun 23, 2020
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: wtforms/wtforms#400

That change previously broke Airflow for new users (in 2.3.0). However on users request they added `HTMLString` that just passes all args to `markupsafe.MarkUp` back for temporary Backward compatbility with deprecation warning in 2.3.1. Details: wtforms/wtforms#581
kaxil added a commit to astronomer/airflow that referenced this issue Jun 23, 2020
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: wtforms/wtforms#400

That change previously broke Airflow for new users (in 2.3.0). However on users request they added `HTMLString` that just passes all args to `markupsafe.MarkUp` back for temporary Backward compatbility with deprecation warning in 2.3.1. Details: wtforms/wtforms#581
kaxil added a commit to apache/airflow that referenced this issue Jun 23, 2020
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: wtforms/wtforms#400

That change previously broke Airflow for new users (in 2.3.0). However on users request they added `HTMLString` that just passes all args to `markupsafe.MarkUp` back for temporary Backward compatbility with deprecation warning in 2.3.1. Details: wtforms/wtforms#581
kaxil added a commit to kaxil/airflow that referenced this issue Jun 27, 2020
…9487)

WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: wtforms/wtforms#400

That change previously broke Airflow for new users (in 2.3.0). However on users request they added `HTMLString` that just passes all args to `markupsafe.MarkUp` back for temporary Backward compatbility with deprecation warning in 2.3.1. Details: wtforms/wtforms#581
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Sep 15, 2021
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: wtforms/wtforms#400

That change previously broke Airflow for new users (in 2.3.0). However on users request they added `HTMLString` that just passes all args to `markupsafe.MarkUp` back for temporary Backward compatbility with deprecation warning in 2.3.1. Details: wtforms/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Sep 17, 2021
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: wtforms/wtforms#400

That change previously broke Airflow for new users (in 2.3.0). However on users request they added `HTMLString` that just passes all args to `markupsafe.MarkUp` back for temporary Backward compatbility with deprecation warning in 2.3.1. Details: wtforms/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Sep 23, 2021
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: wtforms/wtforms#400

That change previously broke Airflow for new users (in 2.3.0). However on users request they added `HTMLString` that just passes all args to `markupsafe.MarkUp` back for temporary Backward compatbility with deprecation warning in 2.3.1. Details: wtforms/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Nov 25, 2021
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: wtforms/wtforms#400

That change previously broke Airflow for new users (in 2.3.0). However on users request they added `HTMLString` that just passes all args to `markupsafe.MarkUp` back for temporary Backward compatbility with deprecation warning in 2.3.1. Details: wtforms/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Mar 9, 2022
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: wtforms/wtforms#400

That change previously broke Airflow for new users (in 2.3.0). However on users request they added `HTMLString` that just passes all args to `markupsafe.MarkUp` back for temporary Backward compatbility with deprecation warning in 2.3.1. Details: wtforms/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 3, 2022
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: wtforms/wtforms#400

That change previously broke Airflow for new users (in 2.3.0). However on users request they added `HTMLString` that just passes all args to `markupsafe.MarkUp` back for temporary Backward compatbility with deprecation warning in 2.3.1. Details: wtforms/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this issue Jun 6, 2022
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: wtforms/wtforms#400

That change previously broke Airflow for new users (in 2.3.0). However on users request they added `HTMLString` that just passes all args to `markupsafe.MarkUp` back for temporary Backward compatbility with deprecation warning in 2.3.1. Details: wtforms/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant