AlchemyCMS / alchemy_cms

Alchemy is the Open Source Rails CMS framework for the component based web that can be used as classic server side rendered or headless CMS.
https://www.alchemy-cms.com
BSD 3-Clause "New" or "Revised" License
817 stars 312 forks source link

fix(alchemy_link.plugin): Avoid getting an absolute URL #2885

Closed tvdeyen closed 1 month ago

tvdeyen commented 1 month ago

What is this pull request for?

Suddenly the anchor.href attribute returns an absolute URL - at least in Firefox - with the Alchemy Admin URL as base.

We want a relative URL.

Checklist

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.94%. Comparing base (a1e0391) to head (af84b09).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2885 +/- ## ======================================= Coverage 95.94% 95.94% ======================================= Files 230 230 Lines 6260 6260 ======================================= Hits 6006 6006 Misses 254 254 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.