]> jfr.im git - irc.git/blobdiff - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2001/000068.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2001 / 000068.html
diff --git a/software/!RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2001/000068.html b/software/!RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2001/000068.html
new file mode 100644 (file)
index 0000000..167e8bb
--- /dev/null
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+   <TITLE> [IRCServices Coding] Services 5.0 alpha 9 released
+   </TITLE>
+   <LINK REL="Index" HREF="index.html" >
+   <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Services%205.0%20alpha%209%20released&In-Reply-To=">
+   <META NAME="robots" CONTENT="index,nofollow">
+   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+   <LINK REL="Previous"  HREF="000071.html">
+   <LINK REL="Next"  HREF="000069.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+   <H1>[IRCServices Coding] Services 5.0 alpha 9 released</H1>
+    <B>Andrew Church</B> 
+    <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Services%205.0%20alpha%209%20released&In-Reply-To="
+       TITLE="[IRCServices Coding] Services 5.0 alpha 9 released">achurch at achurch.org
+       </A><BR>
+    <I>Wed Dec 26 03:08:51 PST 2001</I>
+    <P><UL>
+        <LI>Previous message: <A HREF="000071.html">[IRCServices Coding] More bugs... :)
+</A></li>
+        <LI>Next message: <A HREF="000069.html">[IRCServices Coding] Services 5.0 alpha 9 released
+</A></li>
+         <LI> <B>Messages sorted by:</B> 
+              <a href="date.html#68">[ date ]</a>
+              <a href="thread.html#68">[ thread ]</a>
+              <a href="subject.html#68">[ subject ]</a>
+              <a href="author.html#68">[ author ]</a>
+         </LI>
+       </UL>
+    <HR>  
+<!--beginarticle-->
+<PRE>&gt;<i>I was playing with the httpd/dbaccess/xml-export module, and IE6's
+</I>&gt;<i>usually annoying XML syntax checking pointed something out. Where
+</I>&gt;<i>there's an ampersand in a last_quit field, it replaces it with
+</I>&gt;<i>&quot;&amp;amp-&quot; as opposed to the correct &quot;&amp;amp;&quot;, which causes IE to choke
+</I>&gt;:<i>). The context is as follows:
+</I>&gt;<i>
+</I>&gt;<i>&lt;nickinfo&gt;
+</I>&gt;<i>&lt;nick&gt;[nick]&lt;/nick&gt;
+</I>&gt;<i>...
+</I>&gt;<i>&lt;last_quit&gt;Quit: Peace &amp;amp- Protection 4.06&lt;/last_quit&gt;
+</I>&gt;<i>...
+</I>&gt;<i>&lt;nickinfo&gt;
+</I>
+     Okay, that was a stupid one... an off-by-one error in a memcpy() size
+argument.  Fixed, thanks; the patch is as follows:
+
+---------------------------------------------------------------------------
+--- modules/misc/xml-export.c  19 Dec 2001 16:35:13 -0000      2.2
++++ modules/misc/xml-export.c  25 Dec 2001 18:12:42 -0000      2.3
+@@ -94,7 +94,7 @@
+           d += 4;
+           break;
+         case '&amp;':
+-          memcpy(d, &quot;&amp;amp;&quot;, 4);
++          memcpy(d, &quot;&amp;amp;&quot;, 5);
+           d += 5;
+           break;
+         default:
+---------------------------------------------------------------------------
+
+&gt;<i>Also, it seems to pad every &lt;supass&gt; or &lt;pass&gt; field with lots of
+</I>&gt;<i>&quot;&amp;#0;&quot; null chars:
+</I>&gt;<i>&lt;supass&gt;mysupass&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;
+</I>&gt;<i>#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&lt;/supass&gt;
+</I>&gt;<i>&lt;pass&gt;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0
+</I>&gt;<i>;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&amp;#0;&lt;/pa
+</I>&gt;<i>ss&gt;
+</I>
+     This is because the export-xml module can't know that the encryption
+module (if one is in use) uses a null character as a string terminator.
+In point of fact, the MD5 encryption module stores the passwords as 16 raw
+bytes rather than 32 hex characters, so null characters can very possibly
+appear in the middle of a password.  Thus, passwords are stored as raw
+buffers of data (properly XML-encoded).
+
+&gt;<i>Also, on my #chat channel on the v4 installation, Voice is set to
+</I>&gt;<i>level 0, so everyone is voiced when they join. However, when my AOPs
+</I>&gt;<i>join #chat on the v5 net, they get set +hq, and normal users don't
+</I>&gt;<i>get anything, which is rather odd (possibly to do with me not running
+</I>&gt;<i>the xOP module or something...). I'm continuing to investigate this
+</I>&gt;<i>one.
+</I>
+     You should probably look into what check_access_cumode()
+(modules/chanserv/access.c) is doing; that part of the code has been
+thoroughly redone and gotten almost no testing.  I'm not sure what would
+cause the autovoice level to get set to 0.
+
+  --Andrew Church
+    <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>
+    <A HREF="http://achurch.org/">http://achurch.org/</A>
+
+</PRE>
+
+<!--endarticle-->
+    <HR>
+    <P><UL>
+        <!--threads-->
+       <LI>Previous message: <A HREF="000071.html">[IRCServices Coding] More bugs... :)
+</A></li>
+       <LI>Next message: <A HREF="000069.html">[IRCServices Coding] Services 5.0 alpha 9 released
+</A></li>
+         <LI> <B>Messages sorted by:</B> 
+              <a href="date.html#68">[ date ]</a>
+              <a href="thread.html#68">[ thread ]</a>
+              <a href="subject.html#68">[ subject ]</a>
+              <a href="author.html#68">[ author ]</a>
+         </LI>
+       </UL>
+
+</body></html>