You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules
zeripath 28f6f7bb03
Restore CORS on git smart http protocol (#16496)
Unfortunately the chi changes have resulted in the CORS headers for the
git smart http protocol going missing.

This is mostly because the OPTIONS method is not being handled by
httpBase anymore.

This PR adds a GetOptions, PostOptions and Options methods to web
handler to allow OPTIONS method requests to still reach the httpBase
function.

Fix #16350
Close #16491

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
..
analyze Speed up `enry.IsVendor` (#15213) 4 years ago
auth Add asymmetric JWT signing (#16010) 4 years ago
avatar Add Image Diff for SVG files (#14867) 4 years ago
base Fixed assert statements. (#16089) 4 years ago
cache Add LRU mem cache implementation (#16226) 4 years ago
charset Refactor renders (#15175) 4 years ago
context Redirect on bad CSRF instead of presenting bad page (#14937) 4 years ago
convert Add option to provide signature for a token to verify key ownership (#14054) 4 years ago
cron Change @every 24h default schedules to @midnight (#16431) 4 years ago
csv Refactor renders (#15175) 4 years ago
doctor Rework repository archive (#14723) 4 years ago
emoji Run processors on whole of text (#16155) 4 years ago
eventsource Hold the event source when there are no listeners (#15725) 4 years ago
generate Add asymmetric JWT signing (#16010) 4 years ago
git Make cancel from CatFileBatch and CatFileBatchCheck wait for the command to end (#16479) 4 years ago
gitgraph Fix bug on commit graph (#15517) 4 years ago
graceful Support HTTP/2 in Let's Encrypt (#16371) 4 years ago
hcaptcha hCaptcha Support (#12594) 5 years ago
highlight Replace ARCCache with TwoQueueCache to avoid patent issue (#16240) 4 years ago
httpcache Add ETag header (#15370) 4 years ago
httplib Second attempt at preventing zombies (#16326) 4 years ago
indexer Fix data race in bleve indexer (#16474) 4 years ago
lfs Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
log Fix race in log (#16490) 4 years ago
markup modules/markup/markdown: fix dropped test error (#16438) 4 years ago
matchlist Add Allow-/Block-List for Migrate & Mirrors (#13610) 4 years ago
metrics Prometheus endpoint (#5256) 6 years ago
migrations Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
nosql Fix setting redis db path (#15698) 4 years ago
notification Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
options Add StatDir and replace com.StatDir (#14099) 4 years ago
password Fixed assert statements. (#16089) 4 years ago
pprof Add golangci (#6418) 6 years ago
private Second attempt at preventing zombies (#16326) 4 years ago
process Code Formats, Nits & Unused Func/Var deletions (#15286) 4 years ago
public Improve assets handler middleware (#15961) 4 years ago
queue Fix race in log (#16490) 4 years ago
recaptcha Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
references Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
repofiles Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
repository Fix archive error when rename repo or user (#16399) 4 years ago
secret Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
session Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
setting add configuration option to restrict users by default (#16256) 4 years ago
ssh Second attempt at preventing zombies (#16326) 4 years ago
storage Retry rename on lock induced failures (#16435) 4 years ago
structs Add option to provide signature for a token to verify key ownership (#14054) 4 years ago
svg Fix filepath basename on Windows for SVG bindata (#12241) 5 years ago
sync Fix missing unlock in uniquequeue (#9790) 5 years ago
task Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
templates Add custom emoji support (#16004) 4 years ago
test Move middlewares to web/middleware (#14480) 4 years ago
timeutil Fix display since time round (#14226) 4 years ago
translation Use index of the supported tags to choose user lang (#15452) 4 years ago
typesniffer Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
upload Update golangci-lint to version 1.31.0 (#13102) 5 years ago
uri Dump github/gitlab/gitea repository data to a local directory and restore to gitea (#12244) 4 years ago
user Add gitea-vet (#10948) 5 years ago
util Make cancel from CatFileBatch and CatFileBatchCheck wait for the command to end (#16479) 4 years ago
validation Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
web Restore CORS on git smart http protocol (#16496) 4 years ago