X-Wrt
September 03, 2010, 06:06:34 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the X-Wrt Forums
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: haserl CGI Error  (Read 2254 times)
Doormatt
Newbie
*
Offline Offline

Posts: 1


View Profile
« on: June 02, 2007, 01:46:31 AM »

Hi there!

Having an odd problem.  Almost any button press results in a new page with the following error:
haserl CGI Error
Error: Content-Disposition Missing

Thinking this may be due to moving to Kamikaze, I reflashed the WRT54GSV1 with the new firmware, and everything seems to work as before...except I'm still getting that exact error. 

Any advice?

-Matt
Logged
thepeople
X-Wrt Developer
Administrator
Hero Member
*****
Offline Offline

Posts: 1138


View Profile
« Reply #1 on: June 02, 2007, 09:41:28 AM »

fixed (01:54:49 AM) Doormatt: *Sigh* Nevermind.  It's due to script blocking in firefox.
Logged
swalker
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #2 on: June 03, 2007, 02:24:49 PM »

The actual problem seems to be caused by https://bugzilla.mozilla.org/attachment.cgi?id=264215&action=diff

Post bug 116346 firefox builds are sending
MIME Multipart Media Encapsulation, Type: multipart/form-data, Boundary: "---------------------------265001916915724"
    [Type: multipart/form-data]
    First boundary: -----------------------------265001916915724\r\n
    Encapsulated multipart part:  (text/plain)
        Content-Type: text/plain; charset=UTF-8\r\n
        Content-Disposition: form-data; name="update_check"\r\n
        \r\n
        Line-based text data: text/plain
    Last boundary: \r\n-----------------------------265001916915724--\r\n

Pre bug 116346 firefox builds were sending
MIME Multipart Media Encapsulation, Type: multipart/form-data, Boundary: "---------------------------114782935826962"
    [Type: multipart/form-data]
    First boundary: -----------------------------114782935826962\r\n
    Encapsulated multipart part:
        Content-Disposition: form-data; name="update_check"\r\n
        \r\n
    Last boundary: \r\n-----------------------------114782935826962--\r\n

Looks like haserl is expecting Content-Disposition to be the first (or only?) part of the multipart form-data.
Logged
swalker
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #3 on: June 04, 2007, 08:29:41 PM »

haserl-dev 0.9.16 doesn't bail early if it cannot find a Content-Disposition where it expects to when RFC 1867 compliant browsers are used, but X-Wrt is using the stable haserl 0.8.0.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.105 seconds with 16 queries.