From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15154 invoked by alias); 19 Feb 2018 16:34:38 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 42373 Received: (qmail 18955 invoked by uid 1010); 19 Feb 2018 16:34:38 -0000 X-Qmail-Scanner-Diagnostics: from mail-ot0-f170.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(74.125.82.170):SA:0(-1.9/5.0):. Processed in 1.468335 secs); 19 Feb 2018 16:34:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_PASS,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: joaolrpaulo@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=iQe1ub3v7iCQnm/Uo9QnOlz2DrtNbMDcv/+L15Dp5/0=; b=b5MdoUYHFzE1BwfXz1uklq1yfRGm8tKn3y3i62AuQmrLUAwfrjPHK8ku8JcAgdhS+c 6uLKsfT7VeLHfmz8qu7e5BSOorbIN847khkds6sc7FT3jZnHxI0+ThMxs5U1C3LW/lGl 3t9bPAWe0rq18FuJ/k1aFz8WTUT2dyMKwxbzf1MPIozYyWtw4h6WVQ0+K7DZ6ujBThFw 6OaIFIBQn78mhzEHuvB5LlS3nKCuRkI4/bxzRNTyuzlaPzdkFMxRMCdJucW60IhxCzgw cmPJ+4CJy5Zxd2Unc0oEEoQ46ENPWD+D6IrA1lPpXBNldeIIBSxRN2YtV9CZKdrrHTdp HfAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=iQe1ub3v7iCQnm/Uo9QnOlz2DrtNbMDcv/+L15Dp5/0=; b=M85NSO77COJgmoT4VvF14H85TZ3SXK0k6u/z3Qch/YKRnOv8Tp/aLoaajOZpX3Uozf hTOlTswUWoszsyeOcrxD6Y5hR6Qnl0q7BrQQ0hjNbxUud/GDuMKrKXr5DMD3TBY42ufS 7FuKFrkyqEd2hLWiKPn9TwM9QILVXX6n/f2zeeXAR1rBRy9D4VSCT5HLKWlD5nZbTCLp gh2qguzngmUK1mdtK95KpEhHLxnD2coiMPBWjeezuS8Eh4d23erMo0/hJHNx0xS4POjO GqZApvdFARHfpDR6dBSTaULxXf+mwsV1gJl27e8rReU1tPwKIaQqP6Wi2wcipQYg+i5v bNKw== X-Gm-Message-State: APf1xPCnJcgAall/+uk9JYJdV2rwFKGiy/Jyop/mUbvuUT3n526xEMBq Us22ehcZixacrXkZtptb0oAgXLPEOO56m6Cb3XIqP2HN X-Google-Smtp-Source: AH8x227qosGeIlWZKN0rLV0xKEscJI5aQkDQG/Z+c2qs3CYZphMWnx8MCfbg0DwtjK82of7VLJl4lvFXIFE2mWmtK+4= X-Received: by 10.157.24.83 with SMTP id t19mr8768846ott.178.1519058072466; Mon, 19 Feb 2018 08:34:32 -0800 (PST) MIME-Version: 1.0 From: Joao Paulo Date: Mon, 19 Feb 2018 16:34:32 +0000 Message-ID: Subject: Lack of sanitisation of I/O in pushd/popd To: zsh-workers@zsh.org Content-Type: multipart/alternative; boundary="001a1142d182cd7af705659344da" --001a1142d182cd7af705659344da Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I am encountering some problems with the implementation of the pushd and popd. The spaces in directory paths should be sanitise so I can read them properly. This is if I have a folder named Google Drive in my home directory, I expect it to be `~/Google\ Drive` not `~/Google Drive`, this is causing me problems to read the data from the `popd -n` because there is no difference between that whitespace, and the whitespace used to print elements in the stack. Best Regards, Jo=C3=A3o Paulo --001a1142d182cd7af705659344da--