Bug 2277542
| Summary: | Please try to switch from php-php-gettext to php-gettext (from php-common) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robert Scheck <redhat-bugzilla> |
| Component: | dl | Assignee: | Greg Bailey <gbailey> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | gbailey |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | dl-0.19-1.fc40 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-05-22 01:26:49 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Robert Scheck
2024-04-27 20:46:04 UTC
Greg, may I kindly ask you to respond here? Looks like the version needs to be updated anyway as the current one doesn't work with later PHP versions. I'll try your suggestion to use php-common or just remove the unbundling logic if this is the only package using php-php-gettext. FEDORA-2024-ca01a6d8b0 (dl-0.19-1.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-ca01a6d8b0 Is there a specific reason why you decided to bundle the (security-wise vulnerable) php-php-gettext drop-in replacement instead of using the native php-gettext (which is even faster)? (In reply to Robert Scheck from comment #4) > Is there a specific reason why you decided to bundle the (security-wise > vulnerable) php-php-gettext drop-in replacement instead of using the native > php-gettext (which is even faster)? There's a few (and I should preface with the disclaimer that I'm not a PHP programmer): 1. I needed to upgrade from dl 0.17.1 to a newer version (0.19) because 0.17.1 won't run on recent php versions, and I didn't want to change multiple things at once. 2. The provided sed script didn't seem to catch all the substitutions that were required (I modified the paths to account for DL 0.19 locations), but things like "T_bind_textdomain_codeset" were still present (and perhaps others?) 3. Even when I hand-edited the .php files to fix the T_bind_textdomain_codeset reference, the admin page did not render the various locales correctly; when I reverted to my 0.19-1 update, it worked as expected. Are you suggesting that this should be reported as a security issue to the upstream repo? FEDORA-2024-ca01a6d8b0 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-ca01a6d8b0` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-ca01a6d8b0 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-ca01a6d8b0 (dl-0.19-1.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. |