Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and improve support for CD Baby URLs (MBS-9311, MBS-9348) #513

Merged
merged 5 commits into from May 29, 2017

Conversation

yvanzo
Copy link
Contributor

@yvanzo yvanzo commented May 22, 2017

  • Add auto-select and validation of CD Baby URLs for Artists (MBS-9311)
  • Update to the new form of CD Baby URLs https://store.cdbaby.com (MBS-9348)

with auto-select, clean-up, and validation
of `http://www.cdbaby.com/Artist/\w+` URLs.
Previously, only `cdbaby.com` and `www.cdbaby.com` URLs were
displayed as CD Baby URLs in the sidebar.

This patch additionally displays `store.cdbaby.com` URLs.

It keeps ignoring `images.cdbaby.com` and `members.cdbaby.com`.
Previously, both `cdbaby.com` and `www.cdbaby.com` were recognized
and URLs were normalized to start with `http://www.cdbaby.com`.

This patch adds recognition of `store.cdbaby.com` URLs, normalizes
URLs to start with `https://store.cdbaby.com` and validates URLs
that follow this new pattern only.

It keeps converting `images.cdbaby.com` URLs when it is possible.
@yvanzo
Copy link
Contributor Author

yvanzo commented May 22, 2017

Test failures are unrelated to code changes.

@mwiencek mwiencek merged commit f0cac2c into metabrainz:master May 29, 2017
@yvanzo yvanzo deleted the mbs-9311-mbs-9348-cdbaby branch July 26, 2018 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants