diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b8d847224..d426a4a3be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ The types of changes are: - Removed `pyodbc` in favor of `pymssql` for handling SQL Server connections [#3435](https://github.com/ethyca/fides/pull/3435) - Only create a PrivacyRequest when saving consent if at least one notice has system-wide enforcement [#3626](https://github.com/ethyca/fides/pull/3626) +- Increased the character limit for the `SafeStr` type from 500 to 32000 [#3647](https://github.com/ethyca/fides/pull/3647) ### Docs diff --git a/src/fides/api/custom_types.py b/src/fides/api/custom_types.py index 604dfbb8d5..1c12ea2df3 100644 --- a/src/fides/api/custom_types.py +++ b/src/fides/api/custom_types.py @@ -22,8 +22,8 @@ def validate(cls, value: str) -> str: # HTML Escapes value = escape(value) - if len(value) > 500: - raise ValueError("Value must be 500 characters or less.") + if len(value) > 32000: + raise ValueError("Value must be 32000 characters or less.") return value