Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bagit.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -1409,8 +1409,8 @@ def _encode_filename(s):


def _decode_filename(s):
s = re.sub(r"%0D", "\r", s, re.IGNORECASE)
s = re.sub(r"%0A", "\n", s, re.IGNORECASE)
s = re.sub(r"%0D", "\r", s, flags=re.IGNORECASE)
s = re.sub(r"%0A", "\n", s, flags=re.IGNORECASE)
return s


Expand Down