Hi,
I have a problem with a htm page with a fileUpload input field. When the user try to upload a file with a french accent in the fileName name (eg: modéle.doc) my headless image crash and stop working. I tried on a development the image and I got the error: Unhandled exception: Connection can not reopen! Below is a extract of the stack. It is not a good idea to put accent on a file name but if that happen (a user is a user) again is there a way to avoid the crash? I try to put a halt in the doPost: aRequest response: aResponse but the error happens before :( Michel
ExternalReadAppendStream(ExternalStream)>>reopenError ExternalReadAppendStream(BufferedExternalStream)>>reopen ExternalReadAppendStream(BufferedExternalStream)>>openIfClosed ExternalReadAppendStream(BufferedExternalStream)>>lineEndConvention: ExternalReadAppendStream>>lineEndConvention: optimized [] in VisualWave.NetBasedFormData>>receiveEntityOver: BlockClosure>>valueAsUnwindBlockFrom: BlockClosure>>evaluateUnwindBlockFor: MethodContext>>evaluateUnwind Net.NonASCIICharacter(GenericException)>>unwind Net.NonASCIICharacter(GenericException)>>return: Net.NonASCIICharacter(GenericException)>>return optimized [] in VisualWave.WebRequestService>>serveMarshaller: BlockClosure>>cull: Net.NonASCIICharacter(GenericException)>>performHandler: Net.NonASCIICharacter(GenericException)>>propagatePrivateFrom: Net.NonASCIICharacter(GenericException)>>propagateFrom: Net.NonASCIICharacter(GenericException)>>propagate Net.NonASCIICharacter(GenericException)>>raiseSignal Net.NonASCIICharacter class(GenericException class)>>signalWith: Net.MimeScanner class(Net.SimpleScanner class)>>classificationMaskFor:acceptNonAsciiCharacters: Net.MimeScanner(Net.SimpleScanner)>>classificationMaskFor: Net.MimeScanner(Net.SimpleScanner)>>hereChar: Net.MimeScanner(Net.SimpleScanner)>>next Net.MimeScanner(Net.RFC822Scanner)>>writeFoldLineOn: Net.HttpParser(Net.MimeParser)>>privateParseHeader:scanner: Net.HttpParser(Net.MimeParser)>>parseHeaderFrom: Net.HttpParser(Net.MimeParser)>>parseMultipartBody:from: optimized [] in Net.MimeParser>>parseBody:from: BlockClosure>>ensure: Net.HttpParser(Net.MimeParser)>>parseBody:from: Net.HttpParser(Net.MimeParser)>>parseMessageBody:from: VisualWave.IM_MultipartFormData(VisualWave.NetBasedFormData)>>decodeFrom: optimized [] in VisualWave.NetBasedFormData>>receiveEntityOver: BlockClosure>>ensure: VisualWave.IM_MultipartFormData(VisualWave.NetBasedFormData)>>receiveEntityOver: VisualWave.InternetMedia class>>receiveOver:withHeaders: VisualWave.HTTPRequest(VisualWave.HTTPMessage)>>readEntityFrom: VisualWave.HTTPRequest>>receiveOver: VisualWave.HTTPRequest class(VisualWave.HTTPMessage class)>>receiveOver: VisualWave.HttpWebRequestService>>composeRequestFrom: optimized [] in VisualWave.WebRequestService>>privateServe: BlockClosure>>on:do: VisualWave.HttpWebRequestService(VisualWave.WebRequestService)>>privateServe: optimized [] in VisualWave.WebRequestService>>serveMarshaller: BlockClosure>>on:do: VisualWave.HttpWebRequestService(VisualWave.WebRequestService)>>serveMarshaller: VisualWave.WaveMarshaler>>handleIncomingMessageOn: optimized [] in [] in VisualWave.WaveTransport>>handlingIncomingMessage BlockClosure>>ensure: optimized [] in VisualWave.WaveTransport>>handlingIncomingMessage BlockClosure>>on:do: VisualWave.WaveTransport>>handlingIncomingMessage VisualWave.WaveTransport>>serverProcessBody optimized [] in Opentalk.Transport>>startServerProcess BlockClosure>>on:do: optimized [] in Process class>>forBlock:priority:
---------------------------------------------------------------------- ExternalReadAppendStream(ExternalStream)>>reopenError _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
The following should help:
MimeScanner acceptNonAsciiCharacters: true HTH, Martin "Michel Dufour"<[hidden email]> wrote: > Date: November 21, 2008 14:01:31.000 > From: "Michel Dufour"<[hidden email]> > To: [hidden email] > Subject: [vwnc] Smalltalk server crash: upload file with french accent in the fileName > > Hi, > > I have a problem with a htm page with a fileUpload input field. > > When the user try to upload a file with a french accent in the fileName > name (eg: modéle.doc) my headless image crash and stop working. > > I tried on a development the image and I got the error: > > Unhandled exception: Connection can not reopen! > > Below is a extract of the stack. > > It is not a good idea to put accent on a file name but if that happen (a > user is a user) again is there a way to avoid the crash? > > I try to put a halt in the doPost: aRequest response: aResponse but the > error happens before :( > > Michel > > > > ExternalReadAppendStream(ExternalStream)>>reopenError > > ExternalReadAppendStream(BufferedExternalStream)>>reopen > > ExternalReadAppendStream(BufferedExternalStream)>>openIfClosed > > ExternalReadAppendStream(BufferedExternalStream)>>lineEndConvention: > > ExternalReadAppendStream>>lineEndConvention: > > optimized [] in VisualWave.NetBasedFormData>>receiveEntityOver: > > BlockClosure>>valueAsUnwindBlockFrom: > > BlockClosure>>evaluateUnwindBlockFor: > > MethodContext>>evaluateUnwind > > Net.NonASCIICharacter(GenericException)>>unwind > > Net.NonASCIICharacter(GenericException)>>return: > > Net.NonASCIICharacter(GenericException)>>return > > optimized [] in VisualWave.WebRequestService>>serveMarshaller: > > BlockClosure>>cull: > > Net.NonASCIICharacter(GenericException)>>performHandler: > > Net.NonASCIICharacter(GenericException)>>propagatePrivateFrom: > > Net.NonASCIICharacter(GenericException)>>propagateFrom: > > Net.NonASCIICharacter(GenericException)>>propagate > > Net.NonASCIICharacter(GenericException)>>raiseSignal > > Net.NonASCIICharacter class(GenericException class)>>signalWith: > > Net.MimeScanner class(Net.SimpleScanner > class)>>classificationMaskFor:acceptNonAsciiCharacters: > > Net.MimeScanner(Net.SimpleScanner)>>classificationMaskFor: > > Net.MimeScanner(Net.SimpleScanner)>>hereChar: > > Net.MimeScanner(Net.SimpleScanner)>>next > > Net.MimeScanner(Net.RFC822Scanner)>>writeFoldLineOn: > > Net.HttpParser(Net.MimeParser)>>privateParseHeader:scanner: > > Net.HttpParser(Net.MimeParser)>>parseHeaderFrom: > > Net.HttpParser(Net.MimeParser)>>parseMultipartBody:from: > > optimized [] in Net.MimeParser>>parseBody:from: > > BlockClosure>>ensure: > > Net.HttpParser(Net.MimeParser)>>parseBody:from: > > Net.HttpParser(Net.MimeParser)>>parseMessageBody:from: > > VisualWave.IM_MultipartFormData(VisualWave.NetBasedFormData)>>decodeFrom: > > optimized [] in VisualWave.NetBasedFormData>>receiveEntityOver: > > BlockClosure>>ensure: > > VisualWave.IM_MultipartFormData(VisualWave.NetBasedFormData)>>receiveEntityOver: > > VisualWave.InternetMedia class>>receiveOver:withHeaders: > > VisualWave.HTTPRequest(VisualWave.HTTPMessage)>>readEntityFrom: > > VisualWave.HTTPRequest>>receiveOver: > > VisualWave.HTTPRequest class(VisualWave.HTTPMessage class)>>receiveOver: > > VisualWave.HttpWebRequestService>>composeRequestFrom: > > optimized [] in VisualWave.WebRequestService>>privateServe: > > BlockClosure>>on:do: > > VisualWave.HttpWebRequestService(VisualWave.WebRequestService)>>privateServe: > > optimized [] in VisualWave.WebRequestService>>serveMarshaller: > > BlockClosure>>on:do: > > VisualWave.HttpWebRequestService(VisualWave.WebRequestService)>>serveMarshaller: > > VisualWave.WaveMarshaler>>handleIncomingMessageOn: > > optimized [] in [] in VisualWave.WaveTransport>>handlingIncomingMessage > > BlockClosure>>ensure: > > optimized [] in VisualWave.WaveTransport>>handlingIncomingMessage > > BlockClosure>>on:do: > > VisualWave.WaveTransport>>handlingIncomingMessage > > VisualWave.WaveTransport>>serverProcessBody > > optimized [] in Opentalk.Transport>>startServerProcess > > BlockClosure>>on:do: > > optimized [] in Process class>>forBlock:priority: > > > ---------------------------------------------------------------------- > > ExternalReadAppendStream(ExternalStream)>>reopenError > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |