fix wrong file link in code search page #15466

Merged
a1012112796 merged 2 commits from fix_file_404 into master 2021-04-14 15:59:42 +00:00
a1012112796 commented 2021-04-14 09:31:50 +00:00 (Migrated from github.com)

in previous the grenrated link is
testg/testrepo/src/commit/....
which is not right.

the right version is /testg/testrepo/.......
(start with /)
or http://127.0.0.1:3000/xxxxx (full link)

to make it hase same result with explore page
I choose the secound style.

fix #15438

in previous the grenrated link is ``testg/testrepo/src/commit/....`` which is not right. the right version is ``/testg/testrepo/.......`` (start with ``/``) or ``http://127.0.0.1:3000/xxxxx`` (full link) to make it hase same result with explore page I choose the secound style. fix #15438
lunny approved these changes 2021-04-14 11:41:31 +00:00
6543 (Migrated from github.com) approved these changes 2021-04-14 14:24:26 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#15466
No description provided.