Skip to content

[Bug]: username:password from before @ in https URL not used #456

@jangernert

Description

@jangernert

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

flatpak-builder version

1.2.0

Flatpak version

1.12.3

How to reproduce

  1. Add a source of type file with an url that contains basic auth information to a sources.json
  2. add the sources.json to the sources of the flatpak manifest
  3. run flatpak-builder CLI

Expected Behavior

downloading all the sources

Actual Behavior

Failed to download sources: module: The requested URL returned error: 401

Additional Information

The URL points to a gitlab nuget repository and contains basic auth information:

https://user:[email protected]/api/v4/projects/project_id/packages/nuget/download/package_name/package_version/file_name.nupkg

Downloading the file via curl and firefox works fine.

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