View Issue Details

IDProjectCategoryView StatusLast Update
0001262bareos-core[All Projects] Generalpublic2020-07-10 17:34
ReporteramelentjevAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version 
Fixed in Version 
Summary0001262: IgnoreCase with not-ascii paths breaks RegexFile
DescriptionIn Fileset resource description RegexFile does not match files if IgnoreCase = yes and their paths contains non-ascii symbols (bug found on cyrillic charset)

Example :

FileSet {
  Name = "_TS"
  Include {
    Options {
      Exclude = yes
      IgnoreCase = Yes
      RegexFile = "D:/Почта/.*\.msf$"
    }
    File = "D:/Почта"
  }
}

Files with *,msf extension does not exclude from backup. If IgnoreCase=yes removed everything is working as intended. Also if path and RegexFile contain only ASCII characters, for example D:/temp , it also works.
Steps To Reproduceconfigure such Fileset, for example:

FileSet {
  Name = "_TS"
  Include {
    Options {
      Exclude = yes
      IgnoreCase = Yes
      RegexFile = "D:/Почта/.*\.msf$"
    }
    File = "D:/Почта"
  }
}

files with msf extension doesn't exclude from backup
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-07-10 17:34 amelentjev New Issue