-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
404 Not found error on blob_excerpt expansion #10851
Comments
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions. |
Issue still present |
I just tried the provided url: https://try.gitea.io/testinguserXY/my_bugtest/pulls/3 and couldn't reproduce. |
@sosak009 what version of Gitea is this present in? |
I just reproduced it on the try.gitea.io ...
|
@sosak009 Cannot reproduce it on macOS & firefox |
Ah you mean the up arrow on https://try.gitea.io/testinguserXY/my_bugtest/pulls/3#code-preview-26577 |
Now the question is what should that arrow do? Should it just redirect to the files page? Should it even exist? I suspect the answer is it shouldn't exist. |
Just remove that up arrow. |
Prior to this PR it was possible that an expansion arrow could be displayed on comment diffs displayed on the comments pages of pulls These arrows would not successfully work because they were not attached to a commit id - nor can they necessarily be. This PR prevents these from being shown. Fix go-gitea#10851 Signed-off-by: Andrew Thornton <[email protected]>
* Do not show arrows on comment diffs on pull comment pages Prior to this PR it was possible that an expansion arrow could be displayed on comment diffs displayed on the comments pages of pulls These arrows would not successfully work because they were not attached to a commit id - nor can they necessarily be. This PR prevents these from being shown. Fix #10851 Signed-off-by: Andrew Thornton <[email protected]> * as per @silverwind Signed-off-by: Andrew Thornton <[email protected]> * one more indentation fix Signed-off-by: Andrew Thornton <[email protected]> * one more indentation fix Signed-off-by: Andrew Thornton <[email protected]>
[x]
):Description
Hi, gitea returns HTTP/404 not found on a blob_excerpt request while trying to expand the code in pull_request/review conversation (as seen on screenshot). This bug is also reproducable in testing gitea environment.
Request URL example:
Request URL: https://try.gitea.io/testinguserXY/my_bugtest/blob_excerpt/?last_left=0&last_right=0&left=35&right=35&left_hunk_size=6&right_hunk_size=7&path=testfile&style=unified&direction=up&anchor=diff-e05fcb614ab36fdee72ee1f2754ed85e2bd0e8d0K35
Thanks in advance
Screenshots
The text was updated successfully, but these errors were encountered: