#14 ASCII NUL's in POST data

open
nobody
CMUCL port (7)
5
2012-09-14
2003-01-13
Petter ustad
No

I'm running net.aserve:aserve-version (1 2 24) under
CMUCL 18D (Linux 2.4.2-2 Red Hat 7.1)

When processing data from a POST using get-request-body
I get ASCII NUL's into the data. I'm able to repeat
this using the enclosed file bug.cl:

lisp -L bug.cl
(mp::startup-idle-and-top-level-loops)
(net.aserve:start :port 3333 :chunking nil)

Then run your favorite browser using URL
http://localhost:3333. Click "Generate Bug". Any (NIL)
in the resulting page is an indication that the data
has been corrupted (most likely NUL's are inserted)

Discussion

  • Petter ustad
    Petter ustad
    2003-01-13

    Logged In: YES
    user_id=148570

    The file upload did not seem to work. You can get the sample
    file from

    http://www.gustad.com/pub/lisp/bug.cl

     
  • Petter ustad
    Petter ustad
    2003-01-13

    Logged In: YES
    user_id=148570

    Setting :chunking to t appears to be a workaround for this
    problem. However, when I do this none of the Windows based
    browsers can't connect to the server?