0
alexanderpilhar created
8.7.0, Core, Angular
In Web.Host\Startup\Startup.cs
we can see the following line:
services.AddSignalR(options => { options.EnableDetailedErrors = true; });
This is what Microsoft Docs say about EnableDetailedErrors:
If true, detailed exception messages are returned to clients when an exception is thrown in a Hub method. The default is false, as these exception messages can contain sensitive information.
So, you might not want to have EnableDetailedErrors
turned on in an production environment.
I guess, this might have been forgotten to be disabled after debugging some SignalR stuff?
1 Answer(s)
-
1
Hi @alexanderpilhar
You are right, this should be set to false. Fixed in https://github.com/aspnetzero/aspnet-zero-core/issues/3256
Thanks,