X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/b8c55c4db282c87e3bada4491329ac3c940ff28d..61f363e4447b5e3fd7170ccbb6f407d9232a69e9:/doc/bugs/rst_fails_on_file_containing_only_a_number.mdwn

diff --git a/doc/bugs/rst_fails_on_file_containing_only_a_number.mdwn b/doc/bugs/rst_fails_on_file_containing_only_a_number.mdwn
index 49c7eafed..57e0cf6aa 100644
--- a/doc/bugs/rst_fails_on_file_containing_only_a_number.mdwn
+++ b/doc/bugs/rst_fails_on_file_containing_only_a_number.mdwn
@@ -5,3 +5,27 @@ throwing code..):
 	exceptions.TypeError:coercing to Unicode: need string or buffer, int found
 
 --[[Joey]]
+
+> Does this patch against proxy.py help?
+
+    index 5136b3c..545e226 100755
+    --- a/plugins/proxy.py
+    +++ b/plugins/proxy.py
+    @@ -88,7 +101,7 @@ class _IkiWikiExtPluginXMLRPCHandler(object):
+
+        @staticmethod
+        def _write(out_fd, data):
+    -        out_fd.write(data)
+    +        out_fd.write(str(data))
+            out_fd.flush()
+
+        @staticmethod
+
+> No, still the same failure. I think it's failing parsing the input data,
+> (which perl probably transmitted as an int due to perl internals)
+> not writing out its response. --[[Joey]]
+
+> On second thought, this was a bug in ikiwiki, it should be transmitting
+> that as a string. Fixed in external.pm --[[Joey]] 
+
+>> [[done]] a while ago, then. I've added a regression test now. --[[smcv]]