| Issue 911: | Require login when browsing gitweb and using HTTP auth | |
| 12 people starred this issue and may be notified of changes. | Back to list |
Affected Version: 2.1.6.1 What steps will reproduce the problem? 1. Use auth.type = HTTP 2. Open http://server/gitweb?p=project.git What is the expected output? gitweb for project What do you see instead? HTTP ERROR: 404 Please provide any additional information below. When you use HTTP auth and open gitweb directly _before_ opening gerrit (so that you don't call http://server/login/ gerrits gitweb shows "HTTP ERROR: 404". Gerrit should redirect to the login page before showing this error.
Jun 27, 2012
Agreed, 404 is very misleading for this behaviour. 403 (Forbidden) would be more accurate in the short term, but yes a 401 Auth required prompt would be the ideal mechanism.
Jan 31, 2013
If I might give my opinion: I like to be redirected on the home “http://server/#” or to the “Sign In” box instead. With a 404 I thought that the server wasn’t available and I called our Help-Desk.
Mar 28, 2013
Issue 1056 has been merged into this issue.
Mar 28, 2013
Fixed by https://gerrit-review.googlesource.com/41461 ?
Sep 23, 2013
(No comment was entered for this change.)
Labels:
FixedIn-2.5
Sep 23, 2013
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |
Status: Accepted