Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: The requested URL returned error: 400 while accessing #3

Open
sriharshav opened this issue Jul 13, 2011 · 0 comments
Open

error: The requested URL returned error: 400 while accessing #3

sriharshav opened this issue Jul 13, 2011 · 0 comments

Comments

@sriharshav
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant