We have migrated to Sitecore 10.1 from Sitecore 8.7.
In Sitecore 8, For-example, if the image location is /-/media/Project/Os-Theme/Styles/images/logo
Then the following url returns the same image
<site-url>/-/media/Project/Os-Theme/Styles/images/logo
<site-url>/-/media/Project/Os-Theme/Styles/images/logo.ashx
<site-url>/-/media/Project/Os-Theme/Styles/images/logo.jpg
<site-url>/-/media/Project/Os-Theme/Styles/images/logo.aspx.
I noticed that media item with .aspx is showing 404 error (The resource cannot be found) in Sitecore 10. Other extensions like ashx,jpg,png shows the correct media item.
The following url shows the correct image in Sitecore 10
<site-url>/-/media/Project/Os-Theme/Styles/images/logo
<site-url>/-/media/Project/Os-Theme/Styles/images/logo.ashx
<site-url>/-/media/Project/Os-Theme/Styles/images/logo.jpg
The aspx link doesn't work and shows 404 error.
<site-url>/-/media/Project/Os-Theme/Styles/images/logo.aspx.
Is there any setting to use aspx in the media item in Sitecore 10?
Any suggestion would be appreciated.
Thanks