Skip to content

Bug: License suggestion fails to parse URLs of repositories with ".git" in its name #1278

@Cycloctane

Description

@Cycloctane

License suggestion mistakenly truncates repository name when it contains ".git" (which is common in repositories for .github.io websites).

For example, if an user inputs repository urls like "https://github.com/octocat/octocat.github.io", license suggestion will falsely split url at the middle of repo name, drop ".github.io" and return the result of "octocat/octocat".

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions