Your message dated Tue, 10 Oct 2006 02:52:58 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#390272: fixed in araneida 0.90.1-dfsg-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: araneida
Version: 0.90.1-dfsg-1
Severity: normal
Tags: patch

When I tried to receive big POST requests in multipart/form-data MIME
type, araneida failed because it tried to parse the body. The following
patch made it work:

Index: Source/daemon.lisp
===================================================================
--- Source.orig/daemon.lisp
+++ Source/daemon.lisp
@@ -36,6 +36,11 @@
                 (or (and protocol (parse-protocol-version protocol)) 0.9))
                (content-length (parse-integer
                                 (or (header-value :content-length headers) 
"0")))
+               (content-type (header-value :content-type headers))
+               (form-data-mime-type "multipart/form-data")
+               (form-data-p (and content-type
+                                 (>= (length content-type) (length 
form-data-mime-type))
+                                 (equal form-data-mime-type (subseq 
(header-value :content-type headers) 0 (length form-data-mime-type)))))
                (body (and (> content-length 0)
                     ;; The make-array form sounds good but breaks on
                      ;; streams (like Allegro's multivalent sockets)
@@ -50,7 +55,7 @@
                (len (and (> content-length 0)
                          (read-sequence body stream)))
                #+lispworks
-               (parsed-body (if body (parse-body (map 'string
+               (parsed-body (if (and body (not form-data-p)) (parse-body (map 
'string
                                                       ;; for some reason 
lispworks wants an array of code characters
                                                       ;; according to Bob 
Hutchinson (hutch at recursive.ca)
                                                       ;; -- Alan Shields [14 
November 2005]
@@ -58,7 +63,7 @@
                                                       body)
                                                  body '(#\&) len) nil))
                #-lispworks
-               (parsed-body (if body (parse-body body '(#\&) len) nil))
+               (parsed-body (if (and body (not form-data-p)) (parse-body body 
'(#\&) len) nil))
                (url (merge-url
                      ;; it may be argued that we're going to hell for this, but
                      ;; (header-value :host) may in fact be host:port and I'm

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (501, 'stable'), (500, 'unstable'), (500, 
'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages araneida depends on:
ii  cl-net-telent-date            1:0.4.1-2  Common Lisp utilities for printing
ii  cl-split-sequence             20050802-1 Common Lisp package split a sequen
ii  cl-utilities                  1.2.4-1    a Common Lisp library of common fu

Versions of packages araneida recommends:
ii  apache2                     2.0.55-4.1   next generation, scalable, extenda
ii  apache2-mpm-prefork [apache 2.0.55-4.1   traditional model for Apache2
ii  sbcl                        1:0.9.16.0-1 A Common Lisp compiler and develop

-- no debconf information

-- 
[EMAIL PROTECTED]
OpenPGP 0xD9D50D8A

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: araneida
Source-Version: 0.90.1-dfsg-2

We believe that the bug you reported is fixed in the latest version of
araneida, which is due to be installed in the Debian FTP archive:

araneida_0.90.1-dfsg-2.diff.gz
  to pool/main/a/araneida/araneida_0.90.1-dfsg-2.diff.gz
araneida_0.90.1-dfsg-2.dsc
  to pool/main/a/araneida/araneida_0.90.1-dfsg-2.dsc
araneida_0.90.1-dfsg-2_all.deb
  to pool/main/a/araneida/araneida_0.90.1-dfsg-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Van Eynde <[EMAIL PROTECTED]> (supplier of updated araneida package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon,  9 Oct 2006 10:22:20 +0200
Source: araneida
Binary: araneida
Architecture: source all
Version: 0.90.1-dfsg-2
Distribution: unstable
Urgency: low
Maintainer: Peter Van Eynde <[EMAIL PROTECTED]>
Changed-By: Peter Van Eynde <[EMAIL PROTECTED]>
Description: 
 araneida   - A programmable web server written and extended in Lisp
Closes: 390272
Changes: 
 araneida (0.90.1-dfsg-2) unstable; urgency=low
 .
   * Added XS-X-Vcs-Darcs header
   * modified S-X-Vcs-Darcs to XS-Vcs-Darcs field
   * now does not anymore decode body of a POST request.
     Patch from Pierre THIERRY (Closes: #390272)
Files: 
 0599e1f13e21a5c972c61b1eebbc9cb9 694 web extra araneida_0.90.1-dfsg-2.dsc
 b145a98674e716b20de4b0b22ef604ba 3606 web extra araneida_0.90.1-dfsg-2.diff.gz
 e9ceeabaedd91fdff1e4df1f4df47d56 152488 web extra 
araneida_0.90.1-dfsg-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFKgu311ldN0tyliURAlZ1AJ9uf+LBQl9e3wUbd3Cy4F1d22s0dwCePQWD
DRd2y8ahX9ptNPFkuKO00rM=
=LQIo
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to