Skip to content

Commit

Permalink
Fix unescaped dots in hostname regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed Sep 19, 2023
1 parent 5604fdc commit 5eedc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/replacements/gcn-circular/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const circularId = circularIdRegExp.source
const legacyUrlOrigin = /https?:\/\/gcn\.gsfc\.nasa\.gov/.source
const legacyUrlExtension = /\.gcn3/.source
const legacyUrl = `${legacyUrlOrigin}/(?:gcn/)*gcn3/(${circularId})${legacyUrlExtension}`
const urlOrigin = /https?:\/\/gcn.nasa.gov/.source
const urlOrigin = /https?:\/\/gcn\.nasa\.gov/.source
const url = `${urlOrigin}/circulars/(${circularId})`

export default {
Expand Down

0 comments on commit 5eedc75

Please sign in to comment.