[Python-modules-commits] [twisted] 10/16: insecure-pythonpath

Free Ekanayaka freee at moszumanska.debian.org
Mon Aug 28 17:40:03 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 1b1c120f8f0e1ba4be652c42614f1f0bee48baab
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