The URL has a trailing slash but [^/]+) with $ anchor rejected it. Added \/?$ to make the trailing slash optional. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The URL has a trailing slash but [^/]+) with $ anchor rejected it. Added \/?$ to make the trailing slash optional. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>