Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #7702: double-encode-problem.patch

File double-encode-problem.patch, 486 bytes (added by naph, 2 years ago)

patch for double encode problem

  • prototype.js

    old new  
    647647                key = encodeURIComponent(pair.key); 
    648648          values.each(function(value) { 
    649649            value = value != undefined ? encodeURIComponent(value) : ''; 
    650             parts.push(key + '=' + encodeURIComponent(value)); 
     650            parts.push(key + '=' + value); 
    651651          }); 
    652652          return; 
    653653        }