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

Add option to limit rendering to Tiny PS #230

Open
M66B opened this issue Aug 10, 2021 · 0 comments
Open

Add option to limit rendering to Tiny PS #230

M66B opened this issue Aug 10, 2021 · 0 comments

Comments

@M66B
Copy link

M66B commented Aug 10, 2021

For BIMI and possibly other security related use cases it is necessary to limit SVG rendering to base profile "Tiny PS", please see here for the relevant standard.

For an intermediate solution, there could be a new method SVG.getBaseProfile(), so callers can check the SVG profile before requesting rendering the parsed SVG. For security reasons it would of course be better to actually check the profile during rendering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants