| Summary: | http authorization fails | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Tim Patterson <Tim.Patterson> |
| Component: | Core | Assignee: | Matthias Sohn <matthias.sohn> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | benjamin.schwertfeger, cesario.cristiano, davidbowie2nl, joern, l.kneschke, matthias.sohn, mn, robin, stefan.lay, zoltan.ujhelyi |
| Version: | unspecified | ||
| Target Milestone: | 3.3 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Tim Patterson
See also bug 342592 and bug 339220. Same issue here. Standard git server configured behind Apache with Basic Authorization as descriped in #342592. Works perfectly with standard git command line util. Upon POST /git/<repo>.git/git-upload-pack the server answers correctly with 401. The git command line tool answers again with the POST including Basic Authorization header, however, egit (1.2.0.201112221803-r) fails with exception as in stated by Tim in the bug description. Here's the servers 401 answer (payload omitted): HTTP/1.1 401 Authorization Required Date: Thu, 19 Jan 2012 07:59:21 GMT Server: Apache/2.2.21 (Win32) mod_auth_sspi/1.0.4 WWW-Authenticate: Basic realm="(null)" Content-Length: 401 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=iso-8859-1 proposed patches EGit https://git.eclipse.org/r/#/c/23443/ JGit https://git.eclipse.org/r/#/c/23441/ jgit: https://git.eclipse.org/r/#/c/23441/ merged as 8598fe3d2bdc6e4a7e136a8579fad2545f34f546 egit: https://git.eclipse.org/r/#/c/23643/ merged as bba4e7ff4321b0748d4687e0d40bbf23de5a81d3 https://git.eclipse.org/r/#/c/23443/ merged as b5a2d497ae44fa7ba99a93bb31fc2f0c7c8b7304 These changes seem to have caused bug 431209. |