-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Escape MaxMind database file wget command
Fix #1297
- Loading branch information
Showing
3 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
97aa05c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for quick response.
My config:
AlmaLinux 9, PHP (from OS repo):
PHP 8.0.30 (cli) (built: Aug 3 2023 17:13:08) ( NTS gcc x86_64 )
when I force 'wget' (geoip_update.php) ex. :
82: if (!function_exists('fsockopen') || !extension_loaded('curl')) {
it works now fine but otherwise I get:
Downloading file, please wait...
Error occurred while downloading GeoIP data file: Response could not be parsed
Download complete, unpacking files...
Fatal error: Uncaught UnexpectedValueException: internal corruption of phar "/var/www/html/mailwatch/temp/GeoLite2-Country.tar.gz" (truncated entry) in /var/www/html/mailwatch/geoip_update.php:158 Stack trace: #0 /var/www/html/mailwatch/geoip_update.php(158): PharData->__construct() #1 {main} thrown in /var/www/html/mailwatch/geoip_update.php on line 158
(geoLite2-Country.tar.gz file is empty)
97aa05c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found it, will release a fix in a moment