Git-Web-Access icon indicating copy to clipboard operation
Git-Web-Access copied to clipboard

error: The requested URL returned error: 400 while accessing

Open sriharshav opened this issue 13 years ago • 0 comments

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);

sriharshav avatar Jul 13 '11 16:07 sriharshav