alecpl
2010-10-26 acd9bdd25b62a45420b0aad49de2e31a42053132
- Fix handling of URLs with tilde (~) character (#1487087)


2 files modified
3 ■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/include/rcube_string_replacer.php 2 ●●● patch | view | raw | blame | history
CHANGELOG
@@ -51,6 +51,7 @@
- Add basic IMAP LIST's \Noselect option support
- Add support for selection options from LIST-EXTENDED extension (RFC 5258)
- Don't list subscribed but non-existent folders (#1486225)
- Fix handling of URLs with tilde (~) character (#1487087)
RELEASE 0.4.2
-------------
program/include/rcube_string_replacer.php
@@ -37,7 +37,7 @@
  {
    // Simplified domain expression for UTF8 characters handling
    $utf_domain = '[^?&@"\'\\/()\s\r\t\n]+\\.[a-z]{2,5}';
    $url = '[a-z0-9%=#+?.:&\\/_-]+';
    $url = '[a-z0-9%=#+?.:&\\/_~-]+';
    $this->link_pattern = "/([\w]+:\/\/|\Wwww\.)($utf_domain($url)?)/i";
    $this->mailto_pattern = "/("