Skip to content

Conversation

vladitasev
Copy link
Contributor

This change requires developers to explicitly opt-in for allowing data-sap-themeRoot to be configured by URL. Other methods (configuration script, calling setThemeRoot directly) are not affected.

BREAK ING CHANGE:

For security reasons, setting the themeRoot parameter via URL must be explicitly allowed by calling:

import { allowThemeRootUrl } from "@ui5/webcomponents-base/dist/config/ThemeRoot.js";
allowThemeRootUrl(true);

Unless this method is called with true, setting data-sap-themeRoot in the URL has no effect and will produce a console warning.

@github-actions github-actions bot added the Stale label Aug 20, 2025
@github-actions github-actions bot closed this Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant