Check if the entry is a potential bomb.
A bomb is typically an entry that may overwrite other files
outside of the extraction directory.
isBomb will return true if the path is an absolute path
or a relative path going backwards (containing '..' after normalization).
In addition, a criteria of maximum allowed size can be provided (by default all sizes are accepted).
Check if the entry is a potential bomb. A bomb is typically an entry that may overwrite other files outside of the extraction directory. isBomb will return true if the path is an absolute path or a relative path going backwards (containing '..' after normalization). In addition, a criteria of maximum allowed size can be provided (by default all sizes are accepted).