Changeset 4142 in subversion


Ignore:
Timestamp:
Oct 27, 2010 2:25:13 AM (3 years ago)
Author:
alec
Message:
  • Fix handling of URLs with semicolon (;) character (#1487088)
Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/CHANGELOG

    r4141 r4142  
    5252- Add support for selection options from LIST-EXTENDED extension (RFC 5258) 
    5353- Don't list subscribed but non-existent folders (#1486225) 
    54 - Fix handling of URLs with tilde (~) character (#1487087) 
     54- Fix handling of URLs with tilde (~) or semicolon (;) character (#1487087, #1487088) 
    5555 
    5656RELEASE 0.4.2 
  • trunk/roundcubemail/program/include/rcube_string_replacer.php

    r4141 r4142  
    3838    // Simplified domain expression for UTF8 characters handling 
    3939    $utf_domain = '[^?&@"\'\\/()\s\r\t\n]+\\.[a-z]{2,5}'; 
    40     $url = '[a-z0-9%=#+?.:&\\/_~-]+'; 
     40    $url = '[a-z0-9%=#@+?.:;&\\/_~-]+'; 
    4141 
    4242    $this->link_pattern = "/([\w]+:\/\/|\Wwww\.)($utf_domain($url)?)/i"; 
     
    4444        ."[-\w!\#\$%&\'*+~\/^`|{}=]+(?:\.[-\w!\#\$%&\'*+~\/^`|{}=]+)*"  // local-part 
    4545        ."@$utf_domain"                                                 // domain-part 
    46         ."(\?$url)?"                                                     // e.g. ?subject=test... 
     46        ."(\?$url)?"                                                    // e.g. ?subject=test... 
    4747        .")/i"; 
    4848  } 
Note: See TracChangeset for help on using the changeset viewer.