Closed sharh closed 4 years ago
The regular expression change no longer matches the specification https://tools.ietf.org/html/rfc6266 . This module is designed to adhere to the specification. The value for the filename attribute cannot contain space characters unless it is enclosed by double quotes according to the specification. The full ABNF for the regular expression is available in the block comment above the regular expression.
change reg to match space in string like 'attachment; filename=%E6%B4%BB%E5%8A%A8%E5%B9%B3%E5%8F%B0 - %E6%91%87%E4%B8%80%E6%91%87%E6%B4%BB%E5%8A%A8%E9%85%8D%E7%BD%AE.pptx'