GNU gettext - Bugs: bug #62158, PHP indented heredoc ending marker...
You are not allowed to post comments on this tracker with your current authentication level.
bug #62158: PHP indented heredoc ending marker are not handled correctly
Submitter: | Cédric Anne <canne> | ||
Submitted: | Wed 09 Mar 2022 09:27:19 AM UTC | ||
Category: | PHP | Severity: | 3 - Normal |
Item Group: | None | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open |
Mon 15 Apr 2024 07:44:15 AM UTC, comment #4: |
Cédric Anne <canne> |
Wed 24 Jan 2024 04:17:13 PM UTC, comment #3: I was finally able to test the patch, and it works as expected.
|
Cédric Anne <canne> |
Thu 26 Jan 2023 11:36:39 PM UTC, comment #2: Thanks for the report and patch. I'll look at it in a month or two.
To compile a GNU package, the simplest way it to download a tarball from ftp.gnu.org, unpack it, look at the DEPENDENCIES and INSTALL files, then run
|
Bruno Haible <haible> |
Thu 26 Jan 2023 09:40:06 PM UTC, comment #1: As far as I understand the code, maybe the fix could be simple as proposed in following diff.
|
Cédric Anne <canne> |
Wed 09 Mar 2022 09:27:19 AM UTC, original submission:
When PHP code contains heredoc ending markers that are indented (available since PHP 7.3), it seems that it is not detected. Result is that strings located in following code source are not extracted.
|
Cédric Anne <canne> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2024-01-24 | canne | Attached File | - | Added fix-php-heredoc.patch, #55605 | |
2024-01-24 | canne | Attached File | - | Added test-with-patch.po, #55604 | |
2022-03-09 | canne | Attached File | - | Added test.php, #52973 | |
Attached File | - | Added test.po, #52974 |
Powered by Savane 3.13-d3ae.
Corresponding source code
@haible
How can I help to make the proposed patched integrated in the next gettext version?