GNU bug report logs - #19350
24.4; Incorrect quoting of %-signs for Windows command shell

Previous Next

Package: emacs;

Reported by: Demetrios Obenour <demetriobenour <at> gmail.com>

Date: Thu, 11 Dec 2014 18:45:02 UTC

Severity: minor

Tags: confirmed, wontfix

Found in version 24.4

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


Message #59 received at 19350 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Demi Obenour <demiobenour <at> gmail.com>
Cc: 19350 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#19350: #19350 24.4;
 Incorrect quoting of %-signs for Windows command shell
Date: Thu, 08 Feb 2018 19:17:16 -0500
close 19350 
quit

Demi Obenour <demiobenour <at> gmail.com> writes:

> But yes, it would be great to just skip the shell.  I don't think we
> should replace it either.  Lisp should always pass an argument list
> when creating a process.

The manual's description of shell-quote-argument has meanwhile got a
cross-reference to `(elisp) Security Considerations'.  I've added a
mention of this problem there, and an expected-to-fail test to make it
clear what the problem is.  With that, I'll close the bug.

[1: 2dd273b985]: 2018-02-08 19:10:11 -0500
  Mention that shell quoting of % on w32 may fail (Bug#19350)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2dd273b9853189f2105426cffa723ced7f329fb4




This bug report was last modified 7 years and 101 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.