| 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; |