Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Local file path visible for user in case of error

$
0
0

I build a Blazor Web App (server side rendering) with C# and .NET8. The app is hosted on an Azure App Service. If an error occurs and i open the browser dev tools, i can see a detailed error message. This is great!

But i don´t understand, why i can see the local path of the *.razor.cs file? (see screenshot).Error in browser dev tool

I am confused why the Azure App Service knows, where my local Visual Studio project is located. The App is published via Visual Studio directly and build in Release mode.

From a developer perspective, it´s great because we all love detailed error messages. But this is maybe to much information for an attacker or something...

Any thoughts?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>