Open ricaun opened 7 months ago
I'm trying to show a simple banner in my Nuget packages and found out that there exists a white list.
https://learn.microsoft.com/en-us/nuget/nuget-org/package-readme-on-nuget-org#allowed-domains-for-images-and-badges
By using the raw.githubusercontent works like expected.
raw.githubusercontent
![Banner](https://raw.githubusercontent.com/ricaun/test-assets/main/Banner.png)
I tried to use the blob version with the raw=true that gonna redirect to the same raw.githubusercontent image. That does not work and does not show the image.
raw=true
![Banner](https://github.com/ricaun/test-assets/blob/main/Banner.png?raw=true)
Because the raw=true redirects to the domain raw.githubusercontent.
I wonder if there is a possibility to allow the github.com/...?raw=true.
github.com/...?raw=true
So both approaches would work.
No response
Related Problem
I'm trying to show a simple banner in my Nuget packages and found out that there exists a white list.
https://learn.microsoft.com/en-us/nuget/nuget-org/package-readme-on-nuget-org#allowed-domains-for-images-and-badges
By using the
raw.githubusercontent
works like expected.I tried to use the blob version with the
raw=true
that gonna redirect to the sameraw.githubusercontent
image. That does not work and does not show the image.The Elevator Pitch
Because the
raw=true
redirects to the domainraw.githubusercontent
.I wonder if there is a possibility to allow the
github.com/...?raw=true
.So both approaches would work.
Additional Context and Details
No response