1.1 --- a/README.txt Fri Sep 09 19:32:56 2005 +0000
1.2 +++ b/README.txt Fri Sep 09 21:02:59 2005 +0000
1.3 @@ -71,8 +71,24 @@
1.4 an empty 'id' attribute string. This needs some investigation to see if it
1.5 really is the getElementById call that causes the crash.
1.6
1.7 -Special note #3: Konqueror's XMLHttpRequest seems to append null bytes to the
1.8 -end of field values.
1.9 +Special note #3: Konqueror's XMLHttpRequest seems to append null characters to
1.10 +the end of field values. Attempting to prune them before the request is sent
1.11 +fails with a function like the following:
1.12 +
1.13 +function fixValue(fieldValue) {
1.14 + if (fieldValue.length == 0) {
1.15 + return fieldValue;
1.16 + } else if (fieldValue[fieldValue.length - 1] == '\0') {
1.17 + return fieldValue.substr(0, fieldValue.length - 1);
1.18 + } else {
1.19 + return fieldValue;
1.20 + }
1.21 +}
1.22 +
1.23 +This may be because it is the entire message that is terminated with the null
1.24 +character, and that this happens only upon sending the message. Consequently,
1.25 +some frameworks (notably mod_python) do not support in-page functionality when
1.26 +used from Konqueror.
1.27
1.28 Various browsers (eg. Mozilla/Firefox, Konqueror) will not allow the
1.29 XMLHttpRequest in-page updates to function unless the URL used in the