Decathlon / vitamin-web

Decathlon Design System UI components for web applications
https://decathlon.github.io/vitamin-web
Apache License 2.0
282 stars 76 forks source link

fix(@vtmn/svelte, @vtmn/react, @vtmn/vue): `VtmnNavbarLink` force rel noopener noreferrer if target blank #1423

Closed Tlahey closed 1 year ago

Tlahey commented 1 year ago

Changes description

Compute the rel on the VtmnLink and VtmnNavbarLink components. Fix issue with the class on the VtmnNavbarLink which can displayed class="undefined"

Context

https://www.jitbit.com/alexblog/256-targetblank---the-most-underestimated-vulnerability-ever/

Checklist

Does this introduce a breaking change?

Other information