Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for phpPlatonLib/Platon/Platon.php between version 1.37 and 1.38

version 1.37, 2007/02/01 18:11:23 version 1.38, 2007/04/29 13:19:15
Line 24 
Line 24 
  * @access      public   * @access      public
  */   */
   
 /* $Platon: phpPlatonLib/Platon/Platon.php,v 1.36 2006-07-08 19:57:04 nepto Exp $ */  /* $Platon: phpPlatonLib/Platon/Platon.php,v 1.37 2007-02-01 18:11:23 nepto Exp $ */
   
 class Platon  class Platon
 {  {
Line 649  class Platon
Line 649  class Platon
             case 'url':              case 'url':
                 // escape every character into hex                  // escape every character into hex
                 for ($x = 0; $x < strlen($email); $x++) {                  for ($x = 0; $x < strlen($email); $x++) {
                     $ret .= '%' . bin2hex($email[$x]);                      if ($email[$x] == '@') {
                           $ret .= '@'; // Opera browser hack
                       } else {
                           $ret .= '%' . bin2hex($email[$x]);
                       }
                 }                  }
                 if ($mode == 'url') {                  if ($mode == 'url') {
                     break;                      break;

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top