AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Bugfix/bad null byte (#5033)
James Collins8503e961d85c
diff --git a/autogpt/workspace/workspace.py b/autogpt/workspace/workspace.pyindex 07186e7351..d4bc7f65a8 100644--- a/autogpt/workspace/workspace.py+++ b/autogpt/workspace/workspace.py@@ -19,7 +19,7 @@ from autogpt.logs import loggerclass Workspace:"""A class that represents a workspace for an AutoGPT agent."""- NULL_BYTES = ["\0", "\000", "\x00", r"\z", "\u0000", "%00"]+ NULL_BYTES = ["\0", "\000", "\x00", "\u0000"]def __init__(self, workspace_root: str | Path, restrict_to_workspace: bool):self._root = self._sanitize_path(workspace_root)