Changeset 26
- Timestamp:
- 11/10/06 21:17:58 (5 years ago)
- File:
-
- 1 edited
-
sitemap-plugin/trunk/sitemap/api.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sitemap-plugin/trunk/sitemap/api.py
r25 r26 106 106 def match_request(self, req): 107 107 """Return whether the handler wants to process the given request.""" 108 return req.path_info == self.path or (len (self.confirmationpage) > 0 and req.path_info == self.confirmationpage)108 return req.path_info == self.path or (len (self.confirmationpage) > 0 and req.path_info == '/' + self.confirmationpage) 109 109 110 110 def process_request(self, req): … … 112 112 simply send the response itself and not return anything. 113 113 """ 114 if req.path_info == self.confirmationpage:114 if req.path_info == '/' + self.confirmationpage: 115 115 req.send_response(200) 116 116 req.send_header('Content-Type', 'text/plain')
Note: See TracChangeset
for help on using the changeset viewer.
