bitpiston / oyster

A Perl web application framework.
Other
3 stars 1 forks source link

non UTF-8 data in XML crashes the process #64

Closed einkoro closed 11 years ago

einkoro commented 11 years ago

Lots of errors like this in the log – attempting to produce a test case to fix it.

Died: :7: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xC0 0xAF 0x2E 0x2E
        <email>..??..??..??..??..??..??..??..??etc/passwd</email>
Died: :7: parser error : Char 0x0 out of allowed range
        <email>../../../../../../../../../../windows/win.ini
                                                            ^
:7: parser error : Premature end of data in tag email line 7
        <email>../../../../../../../../../../windows/win.ini
                                                            ^
:7: parser error : Premature end of data in tag cloudstorage line 4
        <email>../../../../../../../../../../windows/win.ini
                                                            ^
:7: parser error : Premature end of data in tag oyster line 1
        <email>../../../../../../../../../../windows/win.ini
                                                            ^