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

Enable unsafe binary serialization #700

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions VocaDbWeb.Core/VocaDbWeb.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<RootNamespace>VocaDb.Web</RootNamespace>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<!-- Workaround for FluentNHibernate throwing Exception. This should be removed when possible. -->
<!-- CA2300: Do not use insecure deserializer BinaryFormatter -->
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
Comment on lines +9 to +10
Copy link
Contributor Author

@ycanardeau ycanardeau Dec 21, 2020

Choose a reason for hiding this comment

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

Can we enable unsafe binary serialization temporarily? Or should we replace it with a safe one now?

Copy link
Member

Choose a reason for hiding this comment

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

It's ok to have this for now, but maybe add to the comment mentioning where is it being used, and note that it should be removed when possible.

</PropertyGroup>

<ItemGroup>
Expand Down