Filesystem/File: Allow doublecolon in paths
This commit is contained in:
parent
bf95108bb8
commit
250d289d08
@ -31,7 +31,7 @@ Public Class File
|
|||||||
Private ReadOnly _invalidPathChars As String
|
Private ReadOnly _invalidPathChars As String
|
||||||
|
|
||||||
Private Const REGEX_CLEAN_FILENAME As String = "[\\/:""<>|\b\0\r\n\t]"
|
Private Const REGEX_CLEAN_FILENAME As String = "[\\/:""<>|\b\0\r\n\t]"
|
||||||
Private Const REGEX_CLEAN_PATH As String = "[:""<>|\b\0\r\n\t]"
|
Private Const REGEX_CLEAN_PATH As String = "[""<>|\b\0\r\n\t]"
|
||||||
|
|
||||||
' The limit enforced by windows for filenpaths is 260,
|
' The limit enforced by windows for filenpaths is 260,
|
||||||
' so we use a slightly smaller number to have some Error margin.
|
' so we use a slightly smaller number to have some Error margin.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user