Thread overview
[Issue 9826] import doesn't work with absolute paths
Mar 27, 2015
Vladimir Panteleev
Dec 17, 2022
Iain Buclaw
March 27, 2015
https://issues.dlang.org/show_bug.cgi?id=9826

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow@gmail.com

--- Comment #5 from Vladimir Panteleev <thecybershadow@gmail.com> ---
String-importing absolute paths to arbitrary files are forbidden by design, to prevent programs from capturing arbitrary files from the filesystem during compilation.

The bug is that the compiler should realize that the absolute path, in fact, points to a file that is under the allowed string import path (-J.).

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=9826

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

--
December 13
https://issues.dlang.org/show_bug.cgi?id=9826

--- Comment #6 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/18550

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--