The hyperlinks contains an extra "/bin/" in automatic notification emails

We are hosting an on-premise XWiki, and it includes a function of “Watch”. If an user enable watch on a page, XWiki will automatically generate daily notification emails about the changes.

The notification email is structured as: the name of the page, a hyperlink to the page, and followed by the diff summaries of the changes on the page.

We have noticed for a long time that the URL in the hyperlink is incorrect, and it always contains an extra /bin/. For example, the hyperlink contains:
https://xwiki.xxx.xxx/bin/bin/view/General
, while the correct URL should be:
https://xwiki.xxx.xxx/bin/view/General

I’m wondering what might be the cause of this error, and is there a fix, e.g. configuration change, etc. ?

Our software version is “XWiki Enterprise 7.0.1”, and please let me know if you need more details. Thank you for your help.