WebGitNet
WebGitNet copied to clipboard
Slashes in branch names break URL routing.
Title pretty much says it. Check out fuel/fuel for a real-world example.
Woops, just meant to comment that this may be fixed simply by URL encoding slashes, but I recall that there may be an issue with those in .NET's URI class, possibly requiring a hacked URI or a setting in the Web.config
http://stackoverflow.com/questions/781205/getting-a-url-with-an-url-encoded-slash
This is a pretty deep rabbit hole. Unfortunately, we can only allow one wildcard routing segment, so we need a different encoding scheme, or we need to put either the branch or the file path into the query string.