View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020004 | phpList 3 application | General | public | 30-06-19 22:25 | 19-07-19 14:45 |
Reporter | duncanc | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | 3.4.3 | ||||
Target Version | 3.4.4 | Fixed in Version | 3.4.4 | ||
Summary | 0020004: php 7.3 PCRE change | ||||
Description | After upgrading a shared hosting to php 7.3. trying to update a plugin failed with Error: Invalid download URL, please reload the page and try again When enabling errors this is reported in the error file [30-Jun-2019 21:15:31 UTC] PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 26 in /home/dcameron/public_html/lists/admin/plugins.php on line 38 The code line referred to is if (!preg_match('~^https?://github\.com/([\w-_]+)/([\w-_]+)/archive/(.+)\.zip$~i', $packageurl, $regs)) { This appears to be a change to the PCRE package in php 7.3. This construct is interpreted differently to previous php versions [\w-_] I think that this is the same as the problem reported at https://bugs.php.net/bug.php?id=77334 | ||||
Tags | No tags attached. | ||||