The attached email might help a bit in tracking this down, as the problem
also occured with the gtk build on AmigaOS.

Chris


--- Begin Message ---
Am Sun, 10 Aug 2008 00:34:41 +0100
schrieb Chris Young <[EMAIL PROTECTED]>:

> Hi Edgar
> 
> IIRC you had problems with forms in the gtk version of NetSurf.
> 
> By any chance, was the problem an out of memory error when trying to
> submit them?
> 
> If so, the information on how you fixed it will save me a bit of time!

Yes, this was exactly the problem. The error message is not really
correct.
Have a look at "render/form.c". The function "form_encode_item()" at
the end of the file. This function is needed in the macro ENCODE_ITEM()
also defined in this file (line 238). This is what I've changed:

from:

#define ENCODE_ITEM(i) form_encode_item((i), charset,
form->document_charset)

to:

#define ENCODE_ITEM(i) strdup(i)


So this problem is not really solved. I have problems here with special
chars like Ö, Ä and Ü. I have to investigate, why form_encode_item()
fails.

Edgar

--- End Message ---

Reply via email to