Skip to content

Commit

Permalink
Handle forward slash
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisSpomer committed Jan 11, 2025
1 parent f2cbc7e commit a1d4885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/upgradeLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit a1d4885

Please sign in to comment.