comparison MoinMoin/action/newpage.py @ 3234:a739558ca3dc

Page.url() default changed to relative=False
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 10 Mar 2008 00:21:21 +0100
parents 948aac85d4d3
children 7f44c25af462
comparison
equal deleted inserted replaced
3233:5e120e903ad5 3234:a739558ca3dc
88 88
89 parent = self.request.form.get('parent', [''])[0] 89 parent = self.request.form.get('parent', [''])[0]
90 if parent: 90 if parent:
91 pagename = "%s/%s" % (parent, pagename) 91 pagename = "%s/%s" % (parent, pagename)
92 92
93 url = Page(self.request, pagename).url(self.request, query, relative=False) 93 url = Page(self.request, pagename).url(self.request, query)
94 self.request.http_redirect(url) 94 self.request.http_redirect(url)
95 95
96 return '' 96 return ''
97 97
98 def execute(pagename, request): 98 def execute(pagename, request):