webdav portal login + access token fix
This commit is contained in:
parent
1c3f10a30a
commit
213eaf0077
19 changed files with 1431 additions and 1181 deletions
|
@ -164,16 +164,6 @@ namespace WebsitePanel.WebDav.Core.Managers
|
|||
return rootFolders;
|
||||
}
|
||||
|
||||
public string CreateFileId(string path)
|
||||
{
|
||||
return _cryptography.Encrypt(path).Replace("/", "AAAAA");
|
||||
}
|
||||
|
||||
public string FilePathFromId(string id)
|
||||
{
|
||||
return _cryptography.Decrypt(id.Replace("AAAAA", "/"));
|
||||
}
|
||||
|
||||
#region Helpers
|
||||
|
||||
private byte[] ReadFully(Stream input)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue