GNU bug report logs -
#7617
24.0.50; `expand-file-name': removal of slashes
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Sat, 11 Dec 2010 21:49:02 UTC
Severity: normal
Found in version 24.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #56 received at submit <at> debbugs.gnu.org (full text, mbox):
On 13/12/2010 02:03, Drew Adams wrote:
> In interactive use, `...//abc...' is treated as just `/abc...' by Emacs.
That is a convenient shortcut for interactive use. For expand-file-name
it could open security holes where filename input is coming from
untrusted sources, so code wants to ensure that the files given are
contained in a safe directory.
>>> Finally, I need the Emacs 20 behavior for this for some of my code.
>>>
>> Can you describe the use-case where the old behavior is needed?
>>
> No, and it is irrelevant.
And you have just made this report irrelevant too, as the developers can
see no valid reason to make the change you are requesting.
This bug report was last modified 14 years and 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.