Skip to content

Commit

Permalink
fix SafeCombine in linux
Browse files Browse the repository at this point in the history
  • Loading branch information
olmobrutall committed Oct 31, 2023
1 parent 8397c23 commit 07273d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Extensions/Signum.Files/FilePathUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ static bool IsNonAsciiByte(byte b)

public static string SafeCombine(string safeBaseDirectory, string unsafeSufix)
{
if (!safeBaseDirectory.EndsWith("\\"))
safeBaseDirectory = safeBaseDirectory + "\\";
//if (!safeBaseDirectory.EndsWith("\\"))
// safeBaseDirectory = safeBaseDirectory + "\\";

safeBaseDirectory = Path.GetFullPath(safeBaseDirectory);

Expand Down

0 comments on commit 07273d7

Please sign in to comment.