View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
400 | RackTables | default | public | 2011-02-16 15:16 | 2012-01-01 06:43 |
Reporter | altpeter | Assigned To | adoom42 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.19.0 | ||||
Target Version | 0.19.11 | Fixed in Version | 0.19.11 | ||
Summary | 400: Parsing of links and emails should be in reverse priority | ||||
Description | Hi, When a comment field contains an URL, it is automatically parsed and made clickable. The same happens for an email address. So far, so good. But, when an URL contains an @ because of integrated user:pass part, it clobbers output. | ||||
Additional Information | Put this into your comment field: http://www.test.de/ email@test.de http://user:pass@www.test.de/ This results in this: http://www.test.de/ [^] email@test.de pass@www.test.de/">http://user:pass@www.test.de/ [pass@www.test.de/" target="_blank">^] | ||||
Tags | No tags attached. | ||||
The function in question was contributed with a comment, that it was copied from Mantis source code with little to none changes. Right now I see, that Mantis' version of the function has developed a bit, but the issue you are reporting is actual for Mantis as well (at least in the version 1.1.8 we are using for this bug, note the formatting issues). I will check if a newer Mantis version handles this better. | |
This bug is still present in 0.19.10 - is there any news on that? :) | |
Ok, do you have a working patch? | |
I replaced the Mantis regex with some copylefted code found online. It appears to work fine for all cases except IPv6 URLs. I consider it acceptable because the Mantis code didn't handle IPv6 URLs, either. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-02-16 15:16 | altpeter | New Issue | |
2011-02-22 19:05 | infrastation | Note Added: 0000268 | |
2011-02-22 19:07 | infrastation | Status | new => assigned |
2011-02-22 19:07 | infrastation | Assigned To | => infrastation |
2011-02-22 19:08 | infrastation | Status | assigned => acknowledged |
2011-10-20 12:08 | altpeter | Note Added: 0000455 | |
2011-10-20 13:26 | infrastation | Note Added: 0000457 | |
2012-01-01 06:43 | adoom42 | Note Added: 0000501 | |
2012-01-01 06:43 | adoom42 | Assigned To | infrastation => adoom42 |
2012-01-01 06:43 | adoom42 | Status | acknowledged => closed |
2012-01-01 06:43 | adoom42 | Resolution | open => fixed |
2012-01-01 06:43 | adoom42 | Fixed in Version | => 0.19.11 |
2012-01-01 06:43 | adoom42 | Target Version | => 0.19.11 |