Skip to content

Commit 500006f

Browse files
committed
Add more characters support for v3
1 parent b6aeb5d commit 500006f

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013-2017 nexB Inc. http://www.nexb.com/ - All rights reserved.
1+
Copyright (c) 2013-2019 nexB Inc. http://www.nexb.com/ - All rights reserved.
22
Licensed under the Apache License, Version 2.0 (the "License");
33
you may not use this file except in compliance with the License.
44
You may obtain a copy of the License at

docs/CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2019-06-30
2+
3+
Release 3.3.3
4+
5+
* Support filenames/path with special characters #310 #378 #392
6+
7+
18
2019-01-07
29

310
Release 3.3.2

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def read(*names, **kwargs):
2424

2525
setup(
2626
name='aboutcode-toolkit',
27-
version='3.3.2',
27+
version='3.3.3',
2828
license='Apache-2.0',
2929
description=(
3030
'AboutCode-toolkit is a tool to document the provenance (origin and license) of '

src/attributecode/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def to_posix(path):
8383
UNC_PREFIX_POSIX = to_posix(UNC_PREFIX)
8484
UNC_PREFIXES = (UNC_PREFIX_POSIX, UNC_PREFIX,)
8585

86-
valid_file_chars = string.digits + string.ascii_letters + '_-.+'
86+
valid_file_chars = string.digits + string.ascii_letters + '_-.+()~[]{}|' + ' '
8787

8888

8989
def invalid_chars(path):

0 commit comments

Comments
 (0)