You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the zip archive contains an empty file, the getFromIndex() function in the safe library throws an exception.
Exception message states "Failed to extract file from the zip archive: No error".
Native ZipArchive has this error code [ZipArchive::ER_OK](https://www.php.net/manual/en/zip.constants.php#ziparchive.constants.er-ok) ([int](https://www.php.net/manual/en/language.types.integer.php)) No error.
This behavior is a flawed design in PHP, where an "error" message is generated despite there being no actual error. This could potentially be addressed and handled in the safe library to prevent the exception from being thrown in such cases.
The text was updated successfully, but these errors were encountered:
If the zip archive contains an empty file, the
getFromIndex()
function in the safe library throws an exception.Exception message states "Failed to extract file from the zip archive: No error".
Native ZipArchive has this error code
[ZipArchive::ER_OK](https://www.php.net/manual/en/zip.constants.php#ziparchive.constants.er-ok) ([int](https://www.php.net/manual/en/language.types.integer.php)) No error.
This behavior is a flawed design in PHP, where an "error" message is generated despite there being no actual error. This could potentially be addressed and handled in the safe library to prevent the exception from being thrown in such cases.
The text was updated successfully, but these errors were encountered: