Show
Ignore:
Timestamp:
01/16/07 17:59:38 (2 years ago)
Author:
jburke
Message:

Fixes #2314 and Fixes #2334. Issues with XhrIframeProxy? in MSIE 7 and Safari.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/io/xip_client.html

    r6812 r7034  
    144144 
    145145                while((reqData.length - reqIndex) + urlLength > xipUrlLimit){ 
    146                         xipRequestParts.push(reqData.substring(reqIndex, reqIndex + partLength)); 
    147                         reqIndex += partLength; 
     146                        var part = reqData.substring(reqIndex, reqIndex + partLength); 
     147                        //Safari will do some extra hex escaping unless we keep the original hex 
     148                        //escaping complete. 
     149                        var percentIndex = part.lastIndexOf("%"); 
     150                        if(percentIndex == part.length - 1 || percentIndex == part.length - 2){ 
     151                                part = part.substring(0, percentIndex); 
     152                        } 
     153                        xipRequestParts.push(part); 
     154                        reqIndex += part.length; 
    148155                } 
    149156                xipRequestParts.push(reqData.substring(reqIndex, reqData.length));