aboutsummaryrefslogtreecommitdiff
path: root/templates/base
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-03-04 21:26:32 -0500
committerUnknwon <u@gogs.io>2017-03-04 21:26:32 -0500
commite9838a83ce2893476a14b27236dd50bb4ea09453 (patch)
tree108bafd88f1465088e64110e341139d8d820342e /templates/base
parent837fc9847d5bed7a4e15f04760fb10818fe49ccb (diff)
routers/repo/http: only prompt HTTP Basic Authentication when intended
Sometimes user could simply request wrong URL, but if that wrong URL has nothing related Git HTTP operations, HTTP Basic Authentication should not prompted. Instead, clean 404 page should be presented. The patch also supports Git HTTP operations without '.git' suffix to the repository name, which addresses #4226 and #4189.
Diffstat (limited to 'templates/base')
0 files changed, 0 insertions, 0 deletions