Modify ↓
Opened 7 years ago
Closed 5 years ago
#416 closed defect (worksforme)
[patch] Invalid subject line causes email2trac to crash
Reported by: | hjuergs@… | Owned by: | bas |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | email2trac | Version: | 2.9.0 |
Keywords: | Cc: |
Description
the subjectline split to retrieve the parameters results in a crash of email2trac.
If the subjectline is like this:
subject#?owner=name #?milestone=name2 #?component=name3
instead of
subject#?owner=name&milestone=name2&component=name3
email2trac crashes in def new_ticket in codeline 1301 (current release)
if set_fields: rest, keywords = string.split(set_fields, '?')
due to a python error.
Attachments (0)
Change History (3)
comment:1 Changed 7 years ago by hjuergs@…
comment:2 Changed 7 years ago by bas
- Status changed from new to assigned
Thanks can you submit a pull request?:
comment:3 Changed 5 years ago by bas
- Resolution set to worksforme
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
With this little patch of the code, the crash may be omitted
this patch forces email2trac to ignore multiple findings of #? and ignores them