shared hosting contrib #9
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This might be as simple as a middleware that:
~
prefix in the first path component~
with some passed-in string, maybe a default of"users/"
//ctrl-c.club/~tjp/gus
is transformed into//ctrl-c.club/users/tjp/gus
, which is relatively easy to map into filesystem paths.The complicated version of this would take a sub-path name (like
"/public_gemini"
) and find the home directory of the actual user named in the~
path component. So mapping eg//ctrl-c.club/~tjp/gus
to/home/travis/public_gemini/gus
. But there are likely security implications here which I shudder to think about.In the first version, the host admin can create the effect of the second by generating "users" as a directory of the appropriate symlinks.