Ghost/ghost/member-attribution
Michael Barrett 77d7b590bc
🐛 Fixed outbound link tagger tagging non http urls (#16773)
refs https://github.com/TryGhost/Team/issues/3172

The outbound link tagger was tagging non http urls (i.e `javascript:`,
`mailto:`) which would prevent these urls from working as expected. This
change only allows urls to be tagged if they use the `http(s)` protocol.
2023-05-15 09:19:33 +01:00
..
lib 🐛 Fixed outbound link tagger tagging non http urls (#16773) 2023-05-15 09:19:33 +01:00
test 🐛 Fixed outbound link tagger tagging non http urls (#16773) 2023-05-15 09:19:33 +01:00
.eslintrc.js
index.js
package.json
README.md

Member Attribution

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests