Doc promotes inadequate way to sanitize a filename
The "server" example for the "Logger" contains these lines:
# make the filename safe, then declare it to be so
fname = name.gsub(/[.\/]/, "_").untaint
On Windows, backslash is a separator character. The above gsub does not remove backslash.
#2 Updated by zzak (Zachary Scott) almost 4 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100