-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
If not sign in compare will return error 500 #11423
Comments
Logs would have been helpful. |
please wait a minute and i have locate the question. Line 218 in 57217ca
|
Fix go-gitea#11423 Signed-off-by: Andrew Thornton <[email protected]>
Here is the log2020/05/14 12:57:18 ...les/context/panic.go:35:1() [E] PANIC:: runtime error: invalid memory address or nil pointer dereference |
Thanks I've already put up a fix - it was actually very simple to reproduce. I unfortunately caused it. |
The code in compare.go is really awful before your commit. |
Fix #11423 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
…1424) Fix go-gitea#11423 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>
[x]
):Description
When you don't sign in and click the compare button on repo's homepage, it will occur error 500
Screenshots
The text was updated successfully, but these errors were encountered: