Skip to content

Fix over-eager windows path restrictions#3553

Merged
AkihiroSuda merged 1 commit intocontainerd:mainfrom
apostasie:fix-overzealous-windows-path
Oct 17, 2024
Merged

Fix over-eager windows path restrictions#3553
AkihiroSuda merged 1 commit intocontainerd:mainfrom
apostasie:fix-overzealous-windows-path

Conversation

@apostasie
Copy link
Copy Markdown
Contributor

@apostasie apostasie commented Oct 16, 2024

Current regexp will match anything starting with forbidden patterns.
This change properly reduces that to paths that exactly match the forbidden patterns.

Discovered while working on enabling unit-tests for windows.

Current regexp will match anything starting with forbidden patterns.
This changes properly reduces that to paths that exactly match the forbidden patterns.

Signed-off-by: apostasie <spam_blackhole@farcloser.world>
Copy link
Copy Markdown
Member

@djdongjin djdongjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@djdongjin djdongjin added this to the v2.0.0 milestone Oct 16, 2024
Copy link
Copy Markdown
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda merged commit 506d875 into containerd:main Oct 17, 2024
@AkihiroSuda AkihiroSuda added the platform/Windows/Non-WSL2 Microsoft Windows (non-WSL2) label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform/Windows/Non-WSL2 Microsoft Windows (non-WSL2)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants