0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 22:04:32 +01:00
gitea/modules
Gabriel Vasile 2e8fc5b034
Replace regex usage for MIME parsing (#17831)
MIME types can have multiple optional parameters, eg:
    video/webm; codecs="w/e codec"; charset="binary"
This commit replaces the usage of regex for getting the "type/subtype"
with mime.ParseMediaType.
2021-11-27 19:12:43 +08:00
..
activitypub
analyze
appstate
auth
avatar Add user settings key/value DB table (#16834) 2021-11-22 04:47:23 -05:00
base
cache
charset
context Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
convert Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
csv
doctor Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
emoji
eventsource
generate
git
gitgraph Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
graceful
hcaptcha
highlight
hostmatcher Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
httpcache
httplib
indexer Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
json
lfs Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
log
markup
metrics
migration
nosql
notification Use correct user on releases (#17806) 2021-11-25 12:17:16 +08:00
options
password
pprof
private Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
process
proxy
public
queue
recaptcha
references
repofiles Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
repository Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
secret
session
setting Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
ssh
storage refactor: move from io/ioutil to io and os package (#17109) 2021-09-22 13:38:34 +08:00
structs
svg
sync
templates Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
test Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
timeutil
translation
typesniffer
updatechecker
upload Replace regex usage for MIME parsing (#17831) 2021-11-27 19:12:43 +08:00
uri
user
util
validation
web