workarea-commerce/workarea

Duplicate Host in Generated Breadcrumbs URL

Closed this issue · 0 comments

tubbo commented

Describe the bug
The storefront_url_for method honey-badgers the scheme and host for all URLs, even if the taxon.url is fully qualified.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Taxon pointing to the URL https://example.com
  2. Add another Taxon pointing to some navigable model, like a page, to the previous Taxon's children
  3. Go to that page in the storefront and hover over the link for your parent taxon
  4. It should be pointing to https://https://example.com

Expected behavior
The taxon link should be pointing to https://example.com.

Workarea Setup (please complete the following information):

  • Workarea Version: v3.5.0

Additional context
Related to #83 but this includes the 3.5-specific changes