Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 919

Show
Ignore:
Timestamp:
01/10/06 09:15:52
Author:
rdelon
Message:

Backporting security patch to 2.1.0. Preparing for 2.1.1 release

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tags/cherrypy-2.1.1/CHANGELOG.txt

    r744 r919  
     12006-01-10: 
     2    * CherryPy-2.1.1 released 
     3    * Patch for serious security flaw in staticfilter 
     4 
    152005-10-21: 
    26    * CherryPy-2.1.0 released 
  • tags/cherrypy-2.1.1/cherrypy/__init__.py

    r744 r919  
    3131""" 
    3232 
    33 __version__ = '2.1.0
     33__version__ = '2.1.1
    3434 
    3535import datetime 
  • tags/cherrypy-2.1.1/cherrypy/_cpwsgiserver.py

    r744 r919  
    273273class CherryPyWSGIServer(object): 
    274274     
    275     version = "CherryPy/2.1.0
     275    version = "CherryPy/2.1.1
    276276    ready = False 
    277277    interrupt = None 
  • tags/cherrypy-2.1.1/cherrypy/lib/filter/staticfilter.py

    r580 r919  
    3636     
    3737    def beforeMain(self): 
    38         from cherrypy import config, request 
     38        from cherrypy import config, request, HTTPError 
    3939        from cherrypy.lib import cptools 
    4040         
     
    5858            extraPath = extraPath.lstrip(r"\/") 
    5959            extraPath = urllib.unquote(extraPath) 
     60            if '..' in extraPath: 
     61                # Disallow ".." in path otherwise this is a security flaw 
     62                raise HTTPError(403) # Forbidden 
    6063            filename = os.path.join(staticDir, extraPath) 
    6164         
  • tags/cherrypy-2.1.1/setup.py

    r744 r919  
    1919############################################################################### 
    2020name = "CherryPy" 
    21 version = "2.1.0
     21version = "2.1.1
    2222desc = "Object-Oriented web development framework" 
    2323long_desc = "CherryPy is a pythonic, object-oriented web development framework" 
     
    3838    "cherrypy.tutorial", "cherrypy.test", 
    3939] 
    40 download_url="http://sourceforge.net/project/showfiles.php?group_id=56099" 
    4140data_files=[ 
    4241    ('cherrypy/tutorial', 
     
    8079        license=cp_license, 
    8180        packages=packages, 
    82         download_url=download_url, 
    8381        data_files=data_files, 
    8482    ) 

Hosted by WebFaction

Log in as guest/cpguest to create tickets