Excluding files by type excludes more than expected

Reported by boga on 2008-08-16
2
Affects Status Importance Assigned to Milestone
nssbackup
Fix Released
Medium
Jean-Peer Lorenz
sbackup
Status tracked in Trunk
0.10
Undecided
Unassigned
0.11
Medium
Unassigned
Trunk
Medium
Unassigned

Bug Description

Excluding file types incorrectly excludes all the files that contain a dot followed by specified extension anywhere in the file path or name. E.g. if I add "o" to excluded file types I expect only files matching "\.o$" regexp to be excluded. However files matching "\.o" regexp are excluded indeed like "file.obj" or "openoffice.org/anyfile".
A temporary workaround is to avoid using Exclude -> File types, use Exclude -> Regex instead.

Martin Schaaf (mascha) wrote :

The file type values are translated to regular expression without a $ the end.

Changed in sbackup:
status: New → Confirmed
Martin Schaaf (mascha) on 2008-10-30
Changed in sbackup:
assignee: nobody → mascha
importance: Undecided → Medium
Martin Schaaf (mascha) on 2008-10-30
Changed in sbackup:
status: Confirmed → Fix Committed
Jean-Peer Lorenz (peer.loz) wrote :

Thanks for the fix, Martin. I've cherry picked this from your branch and incorporated it in nssbackup series 0.2.

Changed in nssbackup:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Jean-Peer Lorenz (peer.loz)
milestone: none → release0.2
Changed in nssbackup:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers