diff options
author | Unknwon <u@gogs.io> | 2017-03-04 21:26:32 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-03-04 21:26:32 -0500 |
commit | e9838a83ce2893476a14b27236dd50bb4ea09453 (patch) | |
tree | 108bafd88f1465088e64110e341139d8d820342e /templates/base | |
parent | 837fc9847d5bed7a4e15f04760fb10818fe49ccb (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