Should find-dynamic-extension unconditionally look in .?

Daniel Colascione via Chicken-users <[email protected]>
Newsgroups gmane.lisp.scheme.chicken
Message-ID <[email protected]>
find-dynamic-extension in eval.scm looks like this

  (let loop ((paths
              (##sys#append
               (if ##sys#setup-mode '(".") '())
               (or rp '())
               (if inc? ##sys#include-pathnames '())
               (if ##sys#setup-mode '() '(".")))))

So no matter what I do at user level, I can't get "." off the search
path for dynamically-loaded code. Loading code from CWD is a well-known
security footgun. 

Could this inclusion of "." be suppressed somehow, or, ideally, not done
by default?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.