Comments (6)
Sounds good. We should be careful not to open up parent directories in the process.
from gitauth.
I have a good idea of how to do this, will get at it tonight or this weekend. The biggest issue is backwards compatibility for us (BrownBeagle) based on the fact we still have a lot of full paths.
My thoughts on this are matching based on the longest number of directories
from gitauth.
I'm cool with re-remoting if that's what you mean by backwards compatibility? I think the most obvious, and so possibly the best way forward, is to make a root dir where all git repo's must be stored under - then everything else follows? This early on we're better off just going with the logical option and ignoring backwards compatibility?
from gitauth.
re-remoting is what I mean. In that case, I'll go ahead with the simpler version.
from gitauth.
In my case, everything is rooted in /var/git, I just have subpaths, too. So, it sounds like what you're proposing would work fine for me.
from gitauth.
Were there some decisions three years ago?
I just added "/" as allowed character to NAME_RE and added a check for "..".
from gitauth.
Related Issues (11)
- No command to add users to groups... HOT 1
- undefined method `key' for {}:Hash
- Web display should group by path HOT 2
- Allow links back to gitweb
- User with many keys HOT 2
- Ability to paste-in key HOT 1
- Use Bundler HOT 1
- Perennial....Urgh HOT 2
- undefined local variable or method `host' HOT 2
- Please dont delete ".git" Suffix。 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitauth.