mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-11 22:59:54 +08:00
245596e130
...when path contains no hash-path-separator ('/') This is a workaround to #17179. Entering this case when `path` does not contain a '/' does not really make sense, as that means the tree path is empty, but this case is only entered for routes that expect a non-empty tree path. Treepaths like <40-char-dirname>/<filename> will still fail, but hopefully don't occur that often. A more complete fix that avoids this case too is outlined in #17185, but too big of a change to backport |
||
---|---|---|
.. | ||
access_log.go | ||
api_org.go | ||
api_test.go | ||
api.go | ||
auth.go | ||
captcha.go | ||
context.go | ||
csrf.go | ||
form.go | ||
org.go | ||
pagination.go | ||
permission.go | ||
private.go | ||
repo.go | ||
response.go | ||
xsrf_test.go | ||
xsrf.go |