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

Fix: #1101 'Latest Nuget version can not load images' issue. #1102

Merged
merged 3 commits into from
Nov 16, 2023

Conversation

H1Gdev
Copy link
Contributor

@H1Gdev H1Gdev commented Nov 16, 2023

Reference Issue

Fixes #1101

What does this implement/fix? Explain your changes.

Any other comments?

@@ -223,7 +223,7 @@ public object GetImage(string uriString)
using (var stream = httpResponseMessage.Content.ReadAsStreamAsync().Result)
{
if (uri.LocalPath.EndsWith(".svg", StringComparison.InvariantCultureIgnoreCase) ||
httpResponseMessage.Headers.Contains(MimeTypeSvg))
httpResponseMessage.Content.Headers.ContentType.MediaType == MimeTypeSvg)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha, that explains it - thanks!

@mrbean-bremen mrbean-bremen merged commit 62b16dc into svg-net:master Nov 16, 2023
7 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 16, 2023
…ildProcessTemplates CONTRIBUTING.md Generators Nuget README.md Samples Source Svg.Custom Tests doc docfx.json index.md license.txt fixes #1101
@H1Gdev H1Gdev deleted the issues/1101 branch November 16, 2023 15:12
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

Successfully merging this pull request may close these issues.

Latest Nuget version can not load images - BUG
2 participants