gitea/modules
Norwin 245596e130
don't try to interpret treepath as hash (#17272)
...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
2021-10-08 13:53:54 -04:00
..
analyze
auth Lock goth/gothic and Re-attempt OAuth2 registration on login if registration failed at startup (#16570) 2021-07-29 18:52:38 +01:00
avatar
base
cache Add LRU mem cache implementation (#16226) 2021-07-10 23:54:15 +02:00
charset
context don't try to interpret treepath as hash (#17272) 2021-10-08 13:53:54 -04:00
convert API pull's head/base have correct permission(#17214) (#17245) 2021-10-07 12:39:23 +03:00
cron Fix archive error when rename repo or user (#16399) 2021-07-13 14:16:31 +02:00
csv
doctor Nicely handle missing user in collaborations (#17049) (#17166) 2021-09-28 07:41:12 +01:00
emoji Run processors on whole of text (#16155) 2021-06-17 11:35:05 +01:00
eventsource
generate Switch to maintained jwt lib (#16532) (#16533) 2021-07-24 11:13:50 -04:00
git Add caller to cat-file batch calls (#17082) (#17089) 2021-09-20 00:07:35 +08:00
gitgraph
graceful Support HTTP/2 in Let's Encrypt (#16371) 2021-07-13 18:17:46 +01:00
hcaptcha
highlight Prevent panic in Org mode HighlightCodeBlock (#17140) (#17141) 2021-09-24 14:29:47 +01:00
httpcache
httplib Second attempt at preventing zombies (#16326) 2021-07-14 10:43:13 -04:00
indexer Fix data race in bleve indexer (#16474) (#16509) 2021-07-22 11:42:32 +08:00
lfs Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
log Fix race in log (#16490) (#16505) 2021-07-21 20:19:36 +08:00
markup Prevent panic in Org mode HighlightCodeBlock (#17140) (#17141) 2021-09-24 14:29:47 +01:00
matchlist
metrics
migrations Fix bug of migrate comments which only fetch one page (#17055) (#17058) 2021-09-15 14:01:54 -04:00
nosql
notification API pull's head/base have correct permission(#17214) (#17245) 2021-10-07 12:39:23 +03:00
options
password
pprof
private Fix dump and restore respository (#16698) (#16898) 2021-08-31 10:44:14 +01:00
process
public
queue Fix race in log (#16490) (#16505) 2021-07-21 20:19:36 +08:00
recaptcha
references Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
repofiles Simplify split diff view generation and remove JS dependency (#16775) (#16863) 2021-08-30 16:43:06 +01:00
repository Correctly rollback in ForkRepository (#17034) (#17045) 2021-09-15 08:42:09 +03:00
secret Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
session
setting Add LRU mem cache implementation (#16226) 2021-07-10 23:54:15 +02:00
ssh Second attempt at preventing zombies (#16326) 2021-07-14 10:43:13 -04:00
storage Fix storage Iterate bug and Add storage doctor to delete garbage attachments (#16971) (#16977) 2021-09-07 19:39:05 +01:00
structs Add option to provide signature for a token to verify key ownership (#14054) 2021-07-13 15:28:07 +02:00
svg
sync
task Fix bug of migrated repository not index (#16991) (#16996) 2021-09-09 07:02:22 +01:00
templates Report the correct number of pushes on the feeds (#16811) (#16822) 2021-08-26 02:30:13 -04:00
test
timeutil
translation
typesniffer Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
upload
uri
user
util Handle too long PR titles correctly (#16517) (#16549) 2021-07-26 17:49:48 +02:00
validation Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
web Restore CORS on git smart http protocol (#16496) (#16506) 2021-07-21 15:03:02 +01:00