Share via


DataURLWhitespacePreservationEnabled

DataURL Whitespace Preservation for all media types

Supported versions

  • On Windows and macOS since 133 or later

Description

This policy provides a temporary opt-out for changes to how Edge handles whitepsace in data URLS. Previously, whitespace would be kept only if the top level media type was text or contained the media type string xml. Now, whitespace will be preserved in all data URLs, regardless of media type.

If this policy is left unset or is set to True, the new behavior is enabled.

When this policy is set to False, the old behavior is enabled.

Supported features

  • Can be mandatory: Yes
  • Can be recommended: No
  • Dynamic Policy Refresh: No - Requires browser restart
  • Per Profile: No
  • Applies to a profile that is signed in with a Microsoft account: Yes

Data type

  • Boolean

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: DataURLWhitespacePreservationEnabled
  • GP name: DataURL Whitespace Preservation for all media types
  • GP path (Mandatory): Administrative Templates/Microsoft Edge/Network settings
  • GP path (Recommended): N/A
  • GP ADMX file name: MSEdge.admx

Example value

Disabled

Registry settings

  • Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge
  • Path (Recommended): N/A
  • Value name: DataURLWhitespacePreservationEnabled
  • Value type: REG_DWORD

Example registry value

0x00000000

Mac information and settings

  • Preference Key name: DataURLWhitespacePreservationEnabled
  • Example value:
<false/>

See also