There is one more thing to say about Unicode.
Let's use decode(..., errors="ignore") for decoding strings into Unicode 
ones because without this option in some case it produces
exceptions like: UnicodeDecodeError: 'utf8' codec can't decode byte 0xac 
in position 38: invalid start byte


14.02.2012 14:37, Taras пишет:
> ping :)
>
> 07.02.2012 17:56, Taras пишет:
>> Hi, Javier!
>>
>> Sorry for delay :(
>>
>>> I'm running a scan against the same target and after 60 minutes and over
>>> 20K requests, still no error. Maybe you're using a specific profile
>>> configuration that leads to this error? Can you please share it?
>>
>> Sure, see attachment.
>>
>>>> Furthermore may be we need to discuss right single way to fix unicode
>>>> problems. For example, all dump* methods should return a string.
>>>>
>>>> Comments?
>>>
>>> What do you exactly have in mind?
>>
>> Unicode errors can appear in those cases:
>>
>> 1. dump* methods where we need to convert everything to string
>> 2. decoding case. Should we use try..catch block in this case for
>> various encodings or simply write like:
>> ...
>> foo = some_str.decode(self._encoding)
>> ...
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Keep Your Developer Skills Current with LearnDevNow!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-d2d
>>
>>
>>
>> _______________________________________________
>> W3af-develop mailing list
>> W3af-develop@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/w3af-develop
>
>


-- 
Taras
http://oxdef.info

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
W3af-develop mailing list
W3af-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/w3af-develop

Reply via email to