2004-05-30 | paulb | raw files shortlog changelog graph | [project @ 2004-05-30 15:30:41 by paulb] Fixed get_path to include the query string. | |
WebStack/ModPython.py (file) |
1.1 --- a/WebStack/ModPython.py Sun May 30 14:40:18 2004 +0000 1.2 +++ b/WebStack/ModPython.py Sun May 30 15:30:41 2004 +0000 1.3 @@ -103,7 +103,11 @@ 1.4 A framework-specific method which gets the entire path from the request. 1.5 """ 1.6 1.7 - return self.trans.uri 1.8 + query_string = self.get_query_string() 1.9 + if query_string: 1.10 + return self.trans.uri + "?" + query_string 1.11 + else: 1.12 + return self.trans.uri 1.13 1.14 def get_path_info(self): 1.15