Skip to content

Stripping query parameters renders URL invalid for cloning #870

@algomaster99

Description

@algomaster99

We strip the query parameters of a URL while canonicalizing.

{"https://foo.com/this/path?this=query", "https://foo.com/this/path", false},           // Unknown URL, strip query

ASF happens to document their repos here (https://gitbox.apache.org/repos/asf) and each of them can be accessed via https://gitbox.apache.org/repos/asf?p=commons-cli.git. We infer the exact same URL using the POM but then we strip the query parameters. However, this specific case is fixed via AI inference.

Should we add support for this URL as well or do we think retaining query parameters is a better idea?

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