]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/bugs/About___37__2F_problem.mdwn
I don't think the Chinese text causes this
[git.ikiwiki.info.git] / doc / bugs / About___37__2F_problem.mdwn
index 9a8fed22ff1973616b18fb20f570a54df80d012f..bb021efb4a1c9b0d91116174333b34c42d0b3df7 100644 (file)
@@ -14,3 +14,21 @@ Its url include a %2F, like below:
 > http://172.16.0.109/ikiwiki.cgi?do=blog&from=.%2Fbugs&subpage=1&title=aaa
 
 I use ikiwiki 3.20180311
+
+----
+
+I have found that it is not "%2F"'s problem, it just that inline directive can
+not deal with Chinese char, the below link can work
+
+    http://172.16.0.109/ikiwiki.cgi?do=blog&from=aaa%2Fbugs&subpage=1&title=aaa
+
+---
+
+> I don't think this is actually caused by the Chinese text. The problem is that
+> you used `rootpage="./bugs"`, which leads to the `blog` request handler
+> generating an invalid page name. If you change it to `rootpage="bugs"` does
+> that fix the error?
+>
+> Ideally either the `inline` directive or the `blog` request handler would
+> understand and remove `./`, if it's something that makes sense in this context.
+> --[[smcv]]