https://bugs.kde.org/show_bug.cgi?id=393011

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/rel
                   |                            |easeme/58268abecb3c842a3ec1
                   |                            |c482f9fb58a6d0e403e4
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Harald Sitter <sit...@kde.org> ---
Git commit 58268abecb3c842a3ec1c482f9fb58a6d0e403e4 by Harald Sitter.
Committed on 25/10/2018 at 12:34.
Pushed by sitter into branch 'master'.

override Dir#mktmpdir to force-sanitize prefix_suffix

on windows the allowed characters for directories is stricter than on posix
and as a result self.class may not be used as prefix verbatim.
as a safe guard we now prepend a sanitizer to Dir#mktmpdir so that only
valid characters can be used as prefix_suffix and we wont accidently create
invalid paths in the future

M  +1    -0    lib/releaseme.rb
C  +27   -22   lib/releaseme/tmpdir.rb [from: lib/releaseme.rb - 050%
similarity]
M  +1    -0    lib/releaseme/translationunit.rb
A  +50   -0    test/tmpdir_test.rb

https://commits.kde.org/releaseme/58268abecb3c842a3ec1c482f9fb58a6d0e403e4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to