View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008263 | mantisbt | scripting | public | 2007-08-13 18:10 | 2007-11-23 19:00 |
Reporter | giallu | Assigned To | jreese | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 1.1.0rc2 | ||||
Target Version | 1.1.0rc3 | Fixed in Version | 1.1.0rc3 | ||
Summary | 0008263: smaller issue in email address recognition | ||||
Description | it seems that putting a email address at the end of a line (so it has an additional full stop after it) creates a weird markup on output. Test follows: test@example.com. first seen on 0008252 | ||||
Tags | No tags attached. | ||||
Reminder sent to: paulr IIRC, this is your favourite area :) |
|
This happens whenever there is a period and THEN a line feed. This triggers another atom in the email regex, which with our regex, only checks for the first char of an atom to be 'not @', which matches the < of the I've tried tweaking our existing email regex, but it seems very brittle, and does not properly handle an email address ending in a period even without a newline afterwards. We could technically pull Perl's RFC-compliant regex, but it's about 2000 character's long, so I will look for a good, robust, compact alternative to use in place of our existing regex. |
|
This has been fixed in 1.1.0rc3 and 1.2.0-SVN. |
|