Rename Culturally Insensitive Terms

Bootstrap YAML Source Changes

The following product configuration properties have been renamed. If your project's bootstrap YAML sources override or append a value to these properties, the property name must be adjusted in your project's bootstrap YAML sources.

Old configuration property New configuration property

/hippo:configuration/hippo:frontend/settings/@whitelisted.classes.for.package.resources

@allowed.classes.for.package.resources

/hippo:configuration/hippo:frontend/cms/cms-static/editorManagerPlugin/cluster.options/@blackListedNodeTypeNames

@blockedNodeTypeNames

Renamed web.xml Context Parameter Name

The web.xml descriptor of the CMS web application may contain a context parameter to allow domains for cross-origin requests. That parameter name has been changed. If your project specified the same context parameter, it must be renamed there, too.

Old Parameter Name New Parameter Name
accepted-origin-whitelist accepted-origin-allowlist

Renamed Configuration Files

The following configuration files have been renamed and must also be renamed in your project if it contains them.

Location Old Filename New Filename
/repository-data/webfiles/src/main/resources/[site] hst-whitelist.txt hst-allowlist.txt

Public Java Constant Changes

The following public Java constants have been renamed and must be renamed in your project, too, if your project makes use of them.

Class Name Old Constant Name New Constant Name
org.hippoecm.frontend.plugins.cms.edit.EditorManagerPlugin BLACK_LISTED_NODE_TYPE_NAMES BLOCKED_NODE_TYPE_NAMES
org.hippoecm.hst.core.container.WebFileValve WHITE_LIST_CONTENT_PATH ALLOWLIST_CONTENT_PATH
org.hippoecm.frontend.Main ACCEPTED_ORIGIN_WHITELIST ACCEPTED_ORIGIN_ALLOWLIST

Renamed Java Classes

The following public Java classes have been renamed. If your project code references any of these classes, these references must be renamed as well.

Old Class Name New Class Name
org.hippoecm.frontend.WhitelistedClassesResourceGuard org.hippoecm.frontend.AllowedClassesResourceGuard
org.onehippo.cms7.services.htmlprocessor.filter.WhitelistHtmlFilter org.onehippo.cms7.services.htmlprocessor.filter.AllowlistHtmlFilter
org.hippoecm.hst.core.webfiles.WhitelistReader org.hippoecm.hst.core.webfiles.AllowlistReader

Renamed Methods on Public Classes

The following methods on public Java classes (and interfaces) have been renamed. If your project code references any of these methods, these references must be renamed as well.

Class Name Old Method Name New Method Name
org.hippoecm.repository.security.domain.QFacetRule isHierarchicalWhiteListRule isHierarchicalAllowlistRule
org.onehippo.cms7.services.htmlprocessor.HtmlProcessorConfig setWhitelistElements setAllowlistElements
org.onehippo.cms7.services.htmlprocessor.HtmlProcessorConfig getWhitelistElements getAllowlistElements
org.hippoecm.hst.core.webfiles.WhitelistReader getWhitelist getAllowlist

 

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?

    We rely on cookies

    to optimize our communication and to enhance your customer experience. By clicking on the Accept and Close button, you agree to the collection of cookies. You can also adjust your preferences by clicking on Manage Preferences. For more information please see our Privacy policy.

    Manage cookies
    Accept & close

    Cookies preferences

    Accept & close
    Back