Skip to content

Error opening files with '(' character on Linux #150

Description

@marcusgregory

First I make an HTTP request and save the file to disk, here below is the response header with the filename:

flutter: /home/gregory/Documentos
flutter: x-powered-by: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
x-powered-by: JSF/1.2
content-disposition: attachment; filename="DA LÍNGUA MATERNA À LÍNGUA SEGUNDA (2).pdf"
last-modified: Thu, 01 Jan 1970 00:00:00 GMT
date: Sun, 06 Jun 2021 17:10:01 GMT
transfer-encoding: chunked
content-type: application/pdf
server: Apache/2.4.6 (CentOS) mod_jk/1.2.42 OpenSSL/1.0.2k-fips

No exceptions occur at runtime, only show this message in the logs and the file doesn't open

sh: 1: Syntax error: "(" unexpected

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions