diff --git a/src/lib/components/upgradeLink.ts b/src/lib/components/upgradeLink.ts index 0c820ca..48be3aa 100644 --- a/src/lib/components/upgradeLink.ts +++ b/src/lib/components/upgradeLink.ts @@ -9,7 +9,7 @@ export function registerSpecialLinkType(typename: string, ctor: any): void specialLinkTypes[typename] = ctor } -const postPath = /^ForumThread\.aspx\?Thread=(\d+)(?:&ShowAll=True)?#Post(\d+)$/i +const postPath = /^\/?ForumThread\.aspx\?Thread=(\d+)(?:&ShowAll=True)?#Post(\d+)$/i interface PostLinkProps {