flatpak-builder icon indicating copy to clipboard operation
flatpak-builder copied to clipboard

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

Open jangernert opened this issue 2 years ago • 2 comments

Checklist

  • [X] I agree to follow the Code of Conduct that this project adheres to.
  • [X] 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.

jangernert avatar Jan 25 '22 16:01 jangernert