includes/clientside/static/crypto.js
changeset 843 4415e50e4e84
parent 830 79fb483807f6
child 1227 bdac73ed481e
equal deleted inserted replaced
842:f13bb4f21890 843:4415e50e4e84
  1979     if ( ch == 37 ) // "%"
  1979     if ( ch == 37 ) // "%"
  1980     {
  1980     {
  1981       var hexch = text.substr(i, 3);
  1981       var hexch = text.substr(i, 3);
  1982       if ( hexch.match(/^%[a-f0-9][a-f0-9]$/i) )
  1982       if ( hexch.match(/^%[a-f0-9][a-f0-9]$/i) )
  1983       {
  1983       {
  1984         console.debug('hexch: ', hexch);
       
  1985         result[result.length] = (unescape(hexch)).charCodeAt(0);
  1984         result[result.length] = (unescape(hexch)).charCodeAt(0);
  1986         a = true;
  1985         a = true;
  1987         i += 2;
  1986         i += 2;
  1988       }
  1987       }
  1989     }
  1988     }