M-Files / VAF.Extensions.Community

Community-built .NET extension methods for use with the M-Files Vault Application Framework.
MIT License
25 stars 20 forks source link

Always unescaping the layout string that the comparison works #115

Closed esahaapamaki closed 1 year ago

esahaapamaki commented 1 year ago

With the newer MFiles.VAF.Configuration.Logging.NLog (>23.2.14), the layout string is escaped. With earlier versions, the layout string is unescaped.

The fix always tries to escape the layout string. This works with both of the string types (escaped and unescaped) and therefore there isn't any version restrictions introduced with the fix.

Fixes #114