[Spambayes] [ spambayes-Patches-725616 ] Options.py mergefiles
crashes (+ fix)
SourceForge.net
noreply at sourceforge.net
Tue Apr 22 06:15:54 EDT 2003
Patches item #725616, was opened at 2003-04-22 14:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=725616&group_id=61702
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Sjoerd Mullender (sjoerd)
Assigned to: Tony Meyer (anadelonbrin)
Summary: Options.py mergefiles crashes (+ fix)
Initial Comment:
When calling Options.options.mergefiles I get a crash
somewhere in re.compile, from the call in _split_values
with the message: bad character range.
The r.e. being compile is r"[\w\.-\*]+". This is
indeed an invalid character range ("." through "*", but
ord(".") > ord("*")). I believe the problem is that
the "-" is not escaped. The attached diff fixes the
three occurances where this happens.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=725616&group_id=61702
More information about the Spambayes
mailing list