Compare commits
2 Commits
4a221a9e1d
...
88ac9e70b2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
88ac9e70b2 | ||
|
|
6885bd2954 |
@@ -12,8 +12,8 @@ Imports System.Runtime.InteropServices
|
||||
<Assembly: AssemblyDescription("")>
|
||||
<Assembly: AssemblyCompany("")>
|
||||
<Assembly: AssemblyProduct("Modules.Windream")>
|
||||
<Assembly: AssemblyCopyright("Copyright © 2021")>
|
||||
<Assembly: AssemblyTrademark("1.7.0.0")>
|
||||
<Assembly: AssemblyCopyright("Copyright © 2023")>
|
||||
<Assembly: AssemblyTrademark("1.9.1.0")>
|
||||
|
||||
<Assembly: ComVisible(False)>
|
||||
|
||||
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
|
||||
' übernehmen, indem Sie "*" eingeben:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("1.9.0.0")>
|
||||
<Assembly: AssemblyFileVersion("1.9.0.0")>
|
||||
<Assembly: AssemblyVersion("1.9.1.0")>
|
||||
<Assembly: AssemblyFileVersion("1.9.1.0")>
|
||||
|
||||
@@ -849,8 +849,16 @@ Public Class Windream
|
||||
If IsPathRooted(oNormalizedPath) Then
|
||||
' This breaks because it converts the path "\SomeFolder" into "C:\SomeFolder" LOL
|
||||
'oNormalizedPath = GetFullPath(oNormalizedPath)
|
||||
' Lets just be pragmatic here
|
||||
oNormalizedPath = oNormalizedPath.Replace("\\", "\")
|
||||
|
||||
' If path is a UNC path, exclude the first double backslashes while replacing
|
||||
If oNormalizedPath.StartsWith("\\") Then
|
||||
_logger.Debug("Path looks like a UNC Path")
|
||||
oNormalizedPath = "\\" & oNormalizedPath.Substring(2).Replace("\\", "\")
|
||||
Else
|
||||
oNormalizedPath = oNormalizedPath.Replace("\\", "\")
|
||||
End If
|
||||
|
||||
' Replace forward slashes
|
||||
oNormalizedPath = oNormalizedPath.Replace("/", "\")
|
||||
|
||||
_logger.Debug("Path after converting slashes: [{0}]", oNormalizedPath)
|
||||
|
||||
Reference in New Issue
Block a user