WASI icon indicating copy to clipboard operation
WASI copied to clipboard

Should `readlink` fail if the target is absolute?

Open sunfishcode opened this issue 5 years ago • 2 comments

Since WASI can't currently open symlinks with absolute paths, should readlink, fail when reading a symlink with an absolute path? That would avoid accidental leakage of host filesystem paths in some cases.

sunfishcode avatar Jul 14 '20 17:07 sunfishcode