ID 504504 - A crash occurs when autosave triggers after setting the root project path to include "\0".

Follow

Problem summary
A crash occurs when autosave triggers after setting the root project path to include "\0".
 
Customer reported version
nuke.13.1v1
 
Customer reported platform
windows10
 
Steps to reproduce
1) In Nuke, open the Project Settings (S). 
2) Change the project path to include a directory as "\0" (example: foo\0_bar\file.nk)
3) Wait for an autosave to complete.
 
Expected behavior
The autosave should provide an error and Nuke should remain active and stable.
 
Actual behavior
Nuke crashes when attempting to write an autosave with a file/folder includes the escaped character \0
 
Workaround
Having the characters \0 escaped correctly with an additional backslash provides the error expected as \\0 Additionally, using forward slashes prevents the crash /0
 
Reproduced by Support in:
Nuke 13.1v2 - Windows 10, macOS 10.15
Nuke 13.1v1 - Windows 10
Nuke 13.0v1 - Windows 10, macOS 10.15 - regression
 
Unable to reproduce bug in:
Nuke 12.2v10 - Windows 10, macOS 10.15
 
Earliest version tested
Nuke 12.2v10 - This issue doesn't appear in this version and has regressed
 

    We're sorry to hear that

    Please tell us why