mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	Merged revisions 84173 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84173 | senthil.kumaran | 2010-08-19 01:02:21 +0530 (Thu, 19 Aug 2010) | 3 lines Fix Issue672656 - Securing pydoc server. ........
This commit is contained in:
		
							parent
							
								
									a54b2dac90
								
							
						
					
					
						commit
						aa8954523c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -2032,7 +2032,7 @@ def log_message(self, *args): pass | |||
|     class DocServer(BaseHTTPServer.HTTPServer): | ||||
|         def __init__(self, port, callback): | ||||
|             host = 'localhost' | ||||
|             self.address = ('', port) | ||||
|             self.address = (host, port) | ||||
|             self.url = 'http://%s:%d/' % (host, port) | ||||
|             self.callback = callback | ||||
|             self.base.__init__(self, self.address, self.handler) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Senthil Kumaran
						Senthil Kumaran