allura
修訂 | 812a7b8b16bc142e79347a94e2179c8940d48faa (tree) |
---|---|
時間 | 2011-12-13 03:09:33 |
作者 | Tim Van Steenburgh <tvansteenburgh@geek...> |
Commiter | Tim Van Steenburgh |
[#3231] Fix dotted wiki page name handler.
Signed-off-by: Tim Van Steenburgh <tvansteenburgh@geek.net>
@@ -253,7 +253,7 @@ class RootController(BaseController): | ||
253 | 253 | # HACK: The TG request extension machinery will strip off the end of |
254 | 254 | # a dotted wiki page name if it matches a known file extension. Here, |
255 | 255 | # we reassemble the original page name. |
256 | - if request.response_ext: | |
256 | + if request.response_ext and not remainder: | |
257 | 257 | pname += request.response_ext |
258 | 258 | return PageController(pname), remainder |
259 | 259 |