diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-03-02 20:02:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-02 12:02:34 +0000 |
commit | c0c2cb933bc59c5c9b2558c9bf53b495504f35f3 (patch) | |
tree | 491a3f280c57cd2064d4721a3aa5dd1c87aef9fc /modules/git/commit_test.go | |
parent | 90435847792d26ac3f23f1a8479706afadec6b15 (diff) | |
download | gitea-c0c2cb933bc59c5c9b2558c9bf53b495504f35f3.tar.gz gitea-c0c2cb933bc59c5c9b2558c9bf53b495504f35f3.zip |
Fix incorrect subpath in links (#29535)
* `$referenceUrl`: it is constructed by "Issue.Link", which already has
the "AppSubURL"
* `window.location.href`: AppSubURL could be empty string, so it needs
the trailing slash
Diffstat (limited to 'modules/git/commit_test.go')
0 files changed, 0 insertions, 0 deletions