Skip to content

box: a path resolved inside the box before the tree bound checks it, names with newlines, and the deadline handed through as given - #85

Open
ohdearquant wants to merge 4 commits into
mainfrom
owed/box
Open

ohdearquant wants to merge 4 commits into
mainfrom
owed/box

Conversation

@ohdearquant

Copy link
Copy Markdown
Owner

Closes #48, closes #47.

A path a command names is resolved inside the box before the tree bound checks it, so a symlink or a relative segment that leaves the tree is refused on what it resolves to, not on how it was spelled. The resolver ends each path with NUL and the reader splits on that, so a name holding a newline still binds to its own answer instead of shifting every line after it. The docker and remote transports take the deadline run hands them as given, None included, and a test now spies that hand-over per transport.

ADR-0011 states what holds, with the tests named.

Suite: 100% coverage on 3.11, 3.12 and 3.14; pre-commit clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant