This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
Instead of replacing accented characters with an underscore when sanitizing file names in restricted mode, replace them with their non-accented equivalents
fixes
#9347
totalwebcasting
Adam Thalhammer
9 years ago
parent
79a2e94e79
commit
31c4448f6e
1 changed files
with
0 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
test/test_utils.py
+ 0
- 1
test/test_utils.py
View File
@ -158,7 +158,6 @@ class TestUtil(unittest.TestCase):
self
.
assertEqual
(
sanitize_filename
(
'
ÂÃÄÀÁÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
'
,
restricted
=
True
)
,
'
AAAAAAAECEEEEIIIIDNOOOOOOUUUUYPssaaaaaaaeceeeeiiiionoooooouuuuypy
'
)
pass
def
test_sanitize_ids
(
self
)
:
self
.
assertEqual
(
sanitize_filename
(
'
_n_cd26wFpw
'
,
is_id
=
True
)
,
'
_n_cd26wFpw
'
)
Write
Preview
Loading…
Cancel
Save