Git-Web-Access
Git-Web-Access copied to clipboard
error: The requested URL returned error: 400 while accessing
When Git-Web-Access is not hosted at root, GetGitDir return wrong path and fails with 400 error.
Say if it is hosted at "/git" instead of root, and repo name is 'test', GetGitDir return 'git/test.git' instead of 'test.git'.
This causes problem in ProcessRequest method in GitHandler.cs at line gitWorkingDir = Path.Combine(gitBaseDir, gitWorkingDir);