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
@davidism davidism deleted the markupsafe branch June 5, 2018 19:23
azmeuk added a commit to azmeuk/wtforms that referenced this pull request Apr 20, 2020
bodik added a commit to bodik/sner4 that referenced this pull request Jun 2, 2020
…returns plain 500

ipv6 validator was fixed in wtforms 2.3.1 (pallets-eco/wtforms#403)
but in the same html escaping mechanism was changed to Markupsafe (pallets-eco/wtforms#400)
which requires all string literals to be explicitly marked as safe
kaxil added a commit to astronomer/airflow that referenced this pull request Jun 23, 2020
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581
kaxil added a commit to apache/airflow that referenced this pull request Jun 23, 2020
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581
kaxil added a commit to kaxil/airflow that referenced this pull request Jun 27, 2020
…9487)

WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 15, 2021
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 17, 2021
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 23, 2021
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Nov 25, 2021
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Mar 9, 2022
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jun 3, 2022
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jun 6, 2022
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jul 8, 2022
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Aug 27, 2022
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Oct 4, 2022
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
aglipska pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Oct 7, 2022
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Dec 7, 2022
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jan 27, 2023
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
kosteev pushed a commit to kosteev/composer-airflow-test-copybara that referenced this pull request Sep 11, 2024
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
kosteev pushed a commit to kosteev/composer-airflow-test-copybara that referenced this pull request Sep 12, 2024
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 16, 2024
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/wtforms#581

GitOrigin-RevId: 7c587dc486c4f637c681e2e8b61a12ebf99c0f14
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Nov 6, 2024
WTForms uses `MarkUp` to escape strings now and removed their internal class HTMLString in Master. Details: pallets-eco/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: pallets-eco/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.

Use MarkupSafe for escaping
1 participant