[Patches] [Patch #103217] prevent htmllib from calling None.split()
noreply@sourceforge.net
noreply@sourceforge.net
Sat, 13 Jan 2001 09:11:37 -0800
Patch #103217 has been updated.
Project: python
Category: library
Status: Rejected
Submitted by: fbremmer
Assigned to : gvanrossum
Summary: prevent htmllib from calling None.split()
Follow-Ups:
Date: 2001-Jan-13 09:11
By: gvanrossum
Comment:
You don't understand.
You're not supposed to call save_begin() and save_end() in a tag that can
be nested.
If the problem is that you can't trust your input, you should insert a
check in your handler for <tag> that rejects recursive use.
-------------------------------------------------------
Date: 2001-Jan-12 23:00
By: moshez
Comment:
Big +1! This also makes save_end's return type reliably a string, which
probably would fix other people's bugs without them noticing... (IOW, user
code that would get the return data from save_end and treat it as a string).
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://sourceforge.net/patch/?func=detailpatch&patch_id=103217&group_id=5470