Skip to content

fix ERR_INVALID_CHAR when filename contains non-ASCII characters#108

Open
catzy007 wants to merge 1 commit intosubnub:masterfrom
catzy007:master
Open

fix ERR_INVALID_CHAR when filename contains non-ASCII characters#108
catzy007 wants to merge 1 commit intosubnub:masterfrom
catzy007:master

Conversation

@catzy007
Copy link
Copy Markdown

Fixes

Express route error:  TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Content-Disposition"]
    at ServerResponse.setHeader (node:_http_outgoing:658:3)
    at ServerResponse.header (/usr/app-production/node_modules/express/lib/response.js:794:10)
    at /usr/app-production/dist-backend/services/chunk-service/utils/getFileData.js:101:21
    at Generator.next (<anonymous>)
    at fulfilled (/usr/app-production/dist-backend/services/chunk-service/utils/getFileData.js:5:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  code: 'ERR_INVALID_CHAR'
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant