mirror of
https://github.com/0x5eal/luau-unzip.git
synced 2025-04-11 01:30:54 +01:00
docs: use GitHub's supported markdown callout syntax
This commit is contained in:
parent
b9b6722985
commit
f5ec183853
1 changed files with 4 additions and 5 deletions
|
@ -242,11 +242,10 @@ end
|
||||||
Resolves the path of the entry based on its relationship with other entries. It is recommended to use this
|
Resolves the path of the entry based on its relationship with other entries. It is recommended to use this
|
||||||
method instead of accessing the `name` property directly, although they should be equivalent.
|
method instead of accessing the `name` property directly, although they should be equivalent.
|
||||||
|
|
||||||
:::warning
|
> [!WARNING]
|
||||||
Never use this method when extracting files from the ZIP, since it can contain absolute paths
|
> Never use this method when extracting files from the ZIP, since it can contain absolute paths
|
||||||
(say `/etc/passwd`) referencing directories outside the current directory (say `/tmp/extracted`),
|
> (say `/etc/passwd`) referencing directories outside the current directory (say `/tmp/extracted`),
|
||||||
causing unintended overwrites of files.
|
> causing unintended overwrites of files.
|
||||||
:::
|
|
||||||
|
|
||||||
@return string -- The path of the entry
|
@return string -- The path of the entry
|
||||||
]=]
|
]=]
|
||||||
|
|
Loading…
Add table
Reference in a new issue