changeset 1049:d3f7552b9e0a

drop getPageNameFromQueryString code (port to 1.5)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 24 Jul 2006 22:32:30 +0200
parents 6488692b1eb8
children 3b5603bf468d
files MoinMoin/request/__init__.py
diffstat 1 files changed, 0 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/__init__.py	Mon Jul 24 01:43:02 2006 +0200
+++ b/MoinMoin/request/__init__.py	Mon Jul 24 22:32:30 2006 +0200
@@ -618,18 +618,6 @@
             return ''
         return self.script_name
 
-    def getPageNameFromQueryString(self):
-        """ Try to get pagename from the query string
-        
-        Support urls like http://netloc/script/?page_name. Allow
-        solving path_info encoding problems by calling with the page
-        name as a query.
-        """
-        pagename = wikiutil.url_unquote(self.query_string, want_unicode=False)
-        pagename = self.decodePagename(pagename)
-        pagename = self.normalizePagename(pagename)
-        return pagename
-
     def getKnownActions(self):
         """ Create a dict of avaiable actions
 
@@ -1081,8 +1069,6 @@
 
             # 3. Or handle action
             else:
-                if not pagename and self.query_string:
-                    pagename = self.getPageNameFromQueryString()
                 # pagename could be empty after normalization e.g. '///' -> ''
                 # Use localized FrontPage if pagename is empty
                 if not pagename: