-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Global code search "View File" link broken #15438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This seems to only affect the repository code search ( |
a1012112796
added a commit
to a1012112796/gitea
that referenced
this issue
Apr 14, 2021
in previous the grenrated link is ``testg/testrepo/src/commit/....`` which is not right. the right version is ``/testg/testrepo/.......`` (start wiht ``/``) 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 go-gitea#15438 Signed-off-by: a1012112796 <[email protected]>
6543
added a commit
that referenced
this issue
Apr 14, 2021
in previous the grenrated link is ``testg/testrepo/src/commit/....`` which is not right. the right version is ``/testg/testrepo/.......`` (start wiht ``/``) 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 Signed-off-by: a1012112796 <[email protected]> Co-authored-by: 6543 <[email protected]>
a1012112796
added a commit
to a1012112796/gitea
that referenced
this issue
Apr 15, 2021
in previous the grenrated link is ``testg/testrepo/src/commit/....`` which is not right. the right version is ``/testg/testrepo/.......`` (start wiht ``/``) 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 go-gitea#15438 Signed-off-by: a1012112796 <[email protected]> Co-authored-by: 6543 <[email protected]>
lafriks
pushed a commit
that referenced
this issue
Apr 15, 2021
in previous the grenrated link is ``testg/testrepo/src/commit/....`` which is not right. the right version is ``/testg/testrepo/.......`` (start wiht ``/``) 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 Signed-off-by: a1012112796 <[email protected]> Co-authored-by: 6543 <[email protected]> Co-authored-by: 6543 <[email protected]>
AbdulrhmnGhanem
pushed a commit
to kitspace/gitea
that referenced
this issue
Aug 10, 2021
in previous the grenrated link is ``testg/testrepo/src/commit/....`` which is not right. the right version is ``/testg/testrepo/.......`` (start wiht ``/``) 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 go-gitea#15438 Signed-off-by: a1012112796 <[email protected]> Co-authored-by: 6543 <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[x]
):Description
When using Code Search the "View File" link adds the
orga/repo
path after the already existing one ending up with a broken 404 link like:https://foo.bar/orga/repo/orga/repo/src/commit/<hash>/README.md
instead ofhttps://foo.bar/orga/repo/src/commit/<hash>/README.md
.Steps to Reproduce
REPO_INDEXER_ENABLED=true
in theapp.ini
file.The text was updated successfully, but these errors were encountered: