mirror of
https://github.com/wekan/wekan.git
synced 2026-02-15 04:28:07 +01:00
Fixed Non-ASCII attachment filename will crash when downloading.
Thanks to xet7 ! Fixes #2759
This commit is contained in:
parent
843ff8eaaa
commit
c2da477735
277 changed files with 30568 additions and 52 deletions
7
packages/wekan-request/lib/debug.js
Normal file
7
packages/wekan-request/lib/debug.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
var util = require('util')
|
||||
|
||||
module.exports =
|
||||
function debug () {
|
||||
if (/\brequest\b/.test(process.env.NODE_DEBUG))
|
||||
console.error('REQUEST %s', util.format.apply(util, arguments))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue