[Python-modules-commits] [twisted] 06/11: insecure-pythonpath
Free Ekanayaka
freee at moszumanska.debian.org
Mon Feb 27 10:31:07 UTC 2017
This is an automated email from the git hooks/post-receive script.
freee pushed a commit to branch patch-queue/master
in repository twisted.
commit 895d3848a97266c09b3dd104a26aeea5eb17ff07
Author: Free Ekanayaka <free.ekanayaka at gmail.com>
Date: Fri Oct 21 09:21:44 2016 +0000
insecure-pythonpath
Fix vulnerable example of PYTHONPATH.
Forwarded: no
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=605190
Gbp-Pq: Name 0005-insecure-pythonpath.patch
---
docs/core/howto/quotes.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/core/howto/quotes.rst b/docs/core/howto/quotes.rst
index 163d67b..d171a07 100644
--- a/docs/core/howto/quotes.rst
+++ b/docs/core/howto/quotes.rst
@@ -65,7 +65,8 @@ following:
#. Add the ``TwistedQuotes`` directory's *parent* to your Python
path. For example, if the TwistedQuotes directory's path is
``/mystuff/TwistedQuotes`` or ``c:\mystuff\TwistedQuotes``
- add ``/mystuff`` to your Python path. On UNIX this would be ``export PYTHONPATH=/mystuff:$PYTHONPATH`` , on Microsoft
+ add ``/mystuff`` to your Python path. On UNIX this would be ``export PYTHONPATH=/mystuff${PYTHONPATH:+:$PYTHONPATH}
+`` , on Microsoft
Windows change the ``PYTHONPATH`` variable through the
Systems Properties dialog by adding ``;c:\mystuff`` at the
end.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/twisted.git
More information about the Python-modules-commits
mailing list