Repository navigation
OnlyWorlds Unity SDK 0.61.2
A world folder write refuses an element id that cannot be one file name inside the folder, before writing
anything; an archive or file name holding a C1 control character is refused, as the other OnlyWorlds SDKs refuse it.
Fixed
- A world folder write refuses an element id that cannot be one file name inside the folder (empty,
/,\, a
colon, a control character,.or..), before writing anything. The id must be one non-empty segment, and the file
name made from it must pass the archive's own name checks (folder spec §4.7, OW-16 and OW-22, so a drive, a
character Windows refuses or a device name is refused too); then its resolved path must lie in its type folder.
OWFolderWriter.WriteElement,OWFolderWriter.WriteandOWFolderExport(from an account or a downloaded world
file) throwOWFolderFormatException, whose message names the type, the id and why in the words of the TypeScript
and Python packages (character element id "a/b" cannot be a file name: it holds a path separator, / or \.) and
whoseReasonisunsafe_path, ornamefor a name check. A UUID and an id such asc-1are written as before.
An export of a Map whose id is..was written with its image left out; it is now refused whole. - An archive entry name or element file name holding a C1 control character, U+0080 to U+009F, is refused, as the
other OnlyWorlds SDKs refuse it (folder spec §4.7, OW-22: a control character is general category Cc).
OWWorldArchive.Readrefused only U+0000 to U+001F and U+007F; it now refuses the archive (name), andPackand
the folder writer's name check refuse such a name too. U+00A0 and above are read as before.