• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

Revisión812a7b8b16bc142e79347a94e2179c8940d48faa (tree)
Tiempo2011-12-13 03:09:33
AutorTim Van Steenburgh <tvansteenburgh@geek...>
CommiterTim Van Steenburgh

Log Message

[#3231] Fix dotted wiki page name handler.

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@geek.net>

Cambiar Resumen

Diferencia incremental

--- a/ForgeWiki/forgewiki/wiki_main.py
+++ b/ForgeWiki/forgewiki/wiki_main.py
@@ -253,7 +253,7 @@ class RootController(BaseController):
253253 # HACK: The TG request extension machinery will strip off the end of
254254 # a dotted wiki page name if it matches a known file extension. Here,
255255 # we reassemble the original page name.
256- if request.response_ext:
256+ if request.response_ext and not remainder:
257257 pname += request.response_ext
258258 return PageController(pname), remainder
259259