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

Flattener hangs due to css import rule #61

Open
plinki opened this issue Nov 19, 2021 · 0 comments
Open

Flattener hangs due to css import rule #61

plinki opened this issue Nov 19, 2021 · 0 comments

Comments

@plinki
Copy link

plinki commented Nov 19, 2021

Contracts may use the css @import rule when constructing svgs, the flattener mistakes these for solidity imports and hangs due to being unable to find the file, which doesn't exist

string[0] memory parts;
parts[0] = '<svg xmlns="http://www.w3.org/2000/svg"><style>@import url("https://use.typekit.net/nln0qsp.css");</style></svg>';

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

No branches or pull requests

1 participant