Skip to content

LICENSE texts are are not correctly formatted #5552

@tastytea

Description

@tastytea
  • Gitea version (or commit ref): 1.6.1
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Description

When I add a new repository and select a license, the LICENSE file is missing space and double-newlines, at least for GPL-2.0-only, GPL-3.0-only, GPL-3.0-or-later and BSD-4-Clause.

The GPL-3.0 licenses are also having a corrupted URL in line 3.

Correctly formatted GPL-3.0 license: https://www.gnu.org/licenses/gpl-3.0.txt

Screenshots

screenshot_2018-12-16t16 50 52

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions