override Dir#mktmpdir to force-sanitize prefix_suffix

Authored by sitter on Oct 25 2018, 12:32 PM.

Description

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

BUG: 393011

Details

Committed
sitterOct 25 2018, 12:34 PM
Parents
R572:e3c4f6ca81b7: no video in 5.14 release
Branches
Unknown
Tags
Unknown