-
Notifications
You must be signed in to change notification settings - Fork 77
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
Rendering SVG with gradient Throw error "Uninitialized string offset 3" #102
Comments
Can you share a sample of the SVG causing the issue? |
|
While there is some logic to handle gradients it looks like the feature was never completed. You can watch #16 for updates. The specific issue here is that the current fill parsing logic does not gracefully handle the non-supported feature. I'll update that with the next release and look at gradient support for a follow-on release. |
since feature is not yet complete. fixes #102
since feature is not yet complete. fixes #102
since feature is not yet complete. fixes #102
We're seeing the same error after updating to 0.5.2 to patch the the RCE vulnerability. Do you know which release you're targeting for this fix; will it be a patch release or will we need to wait a bit longer? |
This will be in the next release (0.5.3) which should be out sometime in the next week. |
@bsweeney Thanks - are you able to estimate when this might be? |
I had hoped to have it out by now, but some unrelated events have come up that have me distracted. As a result I doubt I'll have the release ready this week. Right now I would expect to see it early next week. |
FYI, the 0.5.3 release is published. |
php-svg-lib/src/Svg/Style.php
Line 165 in 76876c6
The text was updated successfully, but these errors were encountered: