MantisBT - mantisbt |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010283 | mantisbt | html | public | 2009-04-02 06:36 | 2009-06-26 12:02 |
|
| Reporter | AntonB | |
| Assigned To | jreese | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | duplicate | |
| Platform | | OS | | OS Version | |
| Product Version | 1.1.6 | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0010283: The url link containing national chars is wrong parsed |
| Description | If the given link in description or comment contains the national chars (cyrrilic) the "string_insert_hrefs()" cuts the link at first non latin char. |
| Steps To Reproduce | See the following link
h t t p ://mail.ru/???????_?????
the result is http://mail.ru/???????_????? [^]
|
| Additional Information | new code for the function "string_insert_hrefs()"
$in=array(
'`(https?|ftp|svn|news)://[^\s<>]+`si',
'`www\.[^\s<>]+`si'
);
$out=array(
'$0 [$0]',
'http://$0 [^] [http://$0 [^]]'
);
$p_string = preg_replace($in,$out,$p_string);
|
| Tags | No tags attached. |
| Relationships | | duplicate of | 0010273 | closed | grangeway | Links with Umlauts to local server |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2009-04-02 06:36 | AntonB | New Issue | |
| 2009-04-02 06:40 | AntonB | Note Added: 0021369 | |
| 2009-04-02 08:14 | jreese | Relationship added | duplicate of 0010273 |
| 2009-04-02 08:14 | jreese | Status | new => resolved |
| 2009-04-02 08:14 | jreese | Resolution | open => fixed |
| 2009-04-02 08:14 | jreese | Assigned To | => jreese |
| 2009-06-15 07:22 | AntonB | Note Added: 0022166 | |
| 2009-06-15 07:22 | AntonB | Status | resolved => feedback |
| 2009-06-15 07:22 | AntonB | Resolution | fixed => reopened |
| 2009-06-15 07:24 | AntonB | Note Added: 0022167 | |
| 2009-06-15 07:30 | AntonB | Note Added: 0022168 | |
| 2009-06-15 07:44 | AntonB | Note Edited: 0022168 | bug_revision_view_page.php?bugnote_id=0022168#r120 |
| 2009-06-15 09:47 | jreese | Note Added: 0022169 | |
| 2009-06-15 09:47 | jreese | Status | feedback => resolved |
| 2009-06-15 09:47 | jreese | Resolution | reopened => duplicate |
| 2009-06-15 09:53 | AntonB | Note Added: 0022170 | |
| 2009-06-26 12:02 | vboctor | Status | resolved => closed |
|
Notes |
|
|
(0021369)
|
|
AntonB
|
|
2009-04-02 06:40
|
|
:(
This site doesn't display cyrillic correctly.
My DB tables set to cp1251 encoding and DB set to UTF8 |
|
|
|
(0022166)
|
|
AntonB
|
|
2009-06-15 07:22
|
|
Not resolved in 1.2.0a3
The defect is still there. |
|
|
|
(0022167)
|
|
AntonB
|
|
2009-06-15 07:24
|
|
|
|
|
(0022168)
|
|
AntonB
|
2009-06-15 07:30
(edited on: 2009-06-15 07:44) |
|
There is one more strange behavior maybe it's bug in PHP itself but you should try to test this link http://mail.ru/ [^]привет/Радуемся/1.html if this link will work then defect is resolved.
|
|
|
|
(0022169)
|
|
jreese
|
|
2009-06-15 09:47
|
|
|
This is still a duplicate of 0010273 -- please do not reopen. |
|
|
|
(0022170)
|
|
AntonB
|
|
2009-06-15 09:53
|
|
|
Ok, I won't but will it be resolved? |
|