Changeset 869 for trunk/plugins


Ignore:
Timestamp:
07/29/07 10:20:34 (12 years ago)
Author:
gogo
Message:

ticket:1028 - automatically (attempt to) work around an issue with mod_security being
triggered because of the charset on our POST requests, revert back to using postback in
Linker ( changeset:837 )

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/Linker/linker.js

    r837 r869  
    337337    if(linker.lConfig.backend) 
    338338    { 
    339       if(linker.lConfig.backend_data != null) 
    340       { 
    341         linker.lConfig.backend += (linker.lConfig.backend.indexOf("?") != -1) ? "&" : "?";   
    342         var param = []; 
    343         for ( var i in linker.lConfig.backend_data ) 
    344         { 
    345             param.push(i + '=' + encodeURIComponent(linker.lConfig.backend_data[i])); 
    346         } 
    347         linker.lConfig.backend += param.join("&"); 
    348       }   
    349  
    350339      //get files from backend 
    351       Xinha._getback(linker.lConfig.backend, 
     340      Xinha._postback(linker.lConfig.backend, 
     341                      linker.lConfig.backend_data,  
    352342                          function(txt) { 
    353343                            try { 
Note: See TracChangeset for help on using the changeset viewer.