Skip to content

Add DISCID_USE_HTTPS build flag to build with https URL support#71

Open
phw wants to merge 1 commit into
metabrainz:masterfrom
phw:conditional-https
Open

Add DISCID_USE_HTTPS build flag to build with https URL support#71
phw wants to merge 1 commit into
metabrainz:masterfrom
phw:conditional-https

Conversation

@phw
Copy link
Copy Markdown
Member

@phw phw commented Feb 10, 2026

This makes the use of HTTPS in generated URLs, as added in #68, a build-time option.

Only if DISCID_USE_HTTPS is set discid_get_submission_url and discid_get_webservice_url will return URLs with https instead of http.

The default for now is disabled. To enable, run cmake with -DENABLE_USE_HTTPS=ON or in case of autotools run configure with --enable-use-https=yes. See also the details added to INSTALL.

We should make this enabled by default in a later release.

Only if DISCID_USE_HTTPS is set discid_get_submission_url and
discid_get_webservice_url will return URLs with https.
@phw
Copy link
Copy Markdown
Member Author

phw commented Feb 10, 2026

@Rigo-V I would appreciate if you could look over my changes here.

I'd like to migrate over to have HTTPS being used as default, but also limit the impact. Once we have this in a release we can encourage people to build and test with this feature enabled. I'll definitely update the builds we do for MusicBrainz Picard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant