You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
HTTP 404 for "Browse Source" with shortened SHA hash #7562
On GitHub, when a URL with shortened SHA is used, the links always use the full SHA hash. For example, the "Browse files" button on the page for the same commit: c53b7e96 (https://github.com/gogs/gogs/commit/c53b7e96) links to a /tree/ page with full SHA: https://github.com/gogs/gogs/tree/c53b7e9698524da9a2c80ab2c129ca4e623a25e9. However, shortened SHA hash also works for /tree/ pages. URL https://github.com/gogs/gogs/tree/c53b7e96 returns the same page.
I don't know how to check version of Gogs without access to /admin/ dashboard. I assumed the version used by try.gogs.io can be tied to commit c53b7e9 based on following HTML in the page:
Activity