php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76910 Typo in filename for tar.xz of 7.2.9 in releases json
Submitted: 2018-09-21 08:01 UTC Modified: 2018-09-21 10:27 UTC
From: manuel_selbach at yahoo dot de Assigned: cmb (profile)
Status: Closed Package: *General Issues
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: manuel_selbach at yahoo dot de
New email:
PHP Version: OS:

 

 [2018-09-21 08:01 UTC] manuel_selbach at yahoo dot de
Description:
------------
If you call https://secure.php.net/releases/index.php?json&max=100&version=7.2 and have a look at the version 7.2.9, you will find the following:

"7.2.9": {
        "announcement": {
            "English": "/releases/7_2_9.php"
        },
        "date": "16 Aug 2018",
        "museum": false,
        "source": [
            {
                "date": "16 Aug 2018",
                "filename": "php-7.2.9.tar.bz2",
                "name": "PHP 7.2.9 (tar.bz2)",
                "sha256": "e9e3aaa6c317b7fea78246a758b017544366049d2789ad5a44fe9398464c53a8"
            },
            {
                "date": "16 Aug 2018",
                "filename": "php-7.2.9.tar.gz",
                "name": "PHP 7.2.9 (tar.gz)",
                "sha256": "23fcc1e4d10e06ddfdbc1163a8f0d147a7813467273f7946eb0de1b825d1d3e6"
            },
            {
                "date": "16 Aug 2018",
                "filename": "php-7.2.89tar.xz",
                "name": "PHP 7.2.9 (tar.xz)",
                "sha256": "3585c1222e00494efee4f5a65a8e03a1e6eca3dfb834814236ee7f02c5248ae0"
            }
        ]
    }

For bz2 and tar.gz everything is fine, but for tar.xz there seems to be a typo.

Expected result:
----------------
The expected json should be:

"7.2.9": {
        "announcement": {
            "English": "/releases/7_2_9.php"
        },
        "date": "16 Aug 2018",
        "museum": false,
        "source": [
            {
                "date": "16 Aug 2018",
                "filename": "php-7.2.9.tar.bz2",
                "name": "PHP 7.2.9 (tar.bz2)",
                "sha256": "e9e3aaa6c317b7fea78246a758b017544366049d2789ad5a44fe9398464c53a8"
            },
            {
                "date": "16 Aug 2018",
                "filename": "php-7.2.9.tar.gz",
                "name": "PHP 7.2.9 (tar.gz)",
                "sha256": "23fcc1e4d10e06ddfdbc1163a8f0d147a7813467273f7946eb0de1b825d1d3e6"
            },
            {
                "date": "16 Aug 2018",
                "filename": "php-7.2.9.tar.xz",
                "name": "PHP 7.2.9 (tar.xz)",
                "sha256": "3585c1222e00494efee4f5a65a8e03a1e6eca3dfb834814236ee7f02c5248ae0"
            }
        ]
    }

Actual result:
--------------
"7.2.9": {
        "announcement": {
            "English": "/releases/7_2_9.php"
        },
        "date": "16 Aug 2018",
        "museum": false,
        "source": [
            {
                "date": "16 Aug 2018",
                "filename": "php-7.2.9.tar.bz2",
                "name": "PHP 7.2.9 (tar.bz2)",
                "sha256": "e9e3aaa6c317b7fea78246a758b017544366049d2789ad5a44fe9398464c53a8"
            },
            {
                "date": "16 Aug 2018",
                "filename": "php-7.2.9.tar.gz",
                "name": "PHP 7.2.9 (tar.gz)",
                "sha256": "23fcc1e4d10e06ddfdbc1163a8f0d147a7813467273f7946eb0de1b825d1d3e6"
            },
            {
                "date": "16 Aug 2018",
                "filename": "php-7.2.89tar.xz",
                "name": "PHP 7.2.9 (tar.xz)",
                "sha256": "3585c1222e00494efee4f5a65a8e03a1e6eca3dfb834814236ee7f02c5248ae0"
            }
        ]
    }

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-09-21 10:26 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=web/php.git;a=commit;h=634a4c7c6c33993ec0a8d7460b9e3cb8019ba63c
Log: Fix #76910: Typo in filename for tar.xz of 7.2.9 in releases json
 [2018-09-21 10:26 UTC] cmb@php.net
-Status: Open +Status: Closed
 [2018-09-21 10:27 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2018-09-21 10:27 UTC] cmb@php.net
Thanks!
 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Tue Dec 18 20:01:26 2018 UTC