Skip to content

cabal install with qualified component leads to curl exception #7815

Open
@andreasabel

Description

@andreasabel

cabal install with qualified component leads to curl exception:

$ cabal install cabal-plan:exe:cabal-plan
Downloading cabal-plan:exe:cabal-plan
Error: cabal: '/usr/local/opt/curl/bin/curl' exited with an error:
curl: (3) URL using bad/illegal format or missing URL

Correct error given in 3.2:

$ cabal-3.2 install cabal-plan:exe:cabal-plan
cabal-3.2: Invalid package ID: cabal-plan:exe:cabal-plan

(I wonder whether this could be exploited: injecting code into the curl request. In any case, sanitization seems to be missing.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions