| @@ 258-262 (lines=5) @@ | ||
| 255 | ||
| 256 | $this->setupCharsets($request); |
|
| 257 | ||
| 258 | if (strcasecmp($this->fileCharset, $this->postCharset)) { |
|
| 259 | ||
| 260 | // writeLog("本地文件字符集编码与表单提交编码不一致,请务必设置成一样,属性名分别为postCharset!"); |
|
| 261 | throw new Exception("文件编码:[" . $this->fileCharset . "] 与表单提交编码:[" . $this->postCharset . "]两者不一致!"); |
|
| 262 | } |
|
| 263 | ||
| 264 | $iv=null; |
|
| 265 | ||
| @@ 369-373 (lines=5) @@ | ||
| 366 | $this->setupCharsets($request); |
|
| 367 | ||
| 368 | // // 如果两者编码不一致,会出现签名验签或者乱码 |
|
| 369 | if (strcasecmp($this->fileCharset, $this->postCharset)) { |
|
| 370 | ||
| 371 | // writeLog("本地文件字符集编码与表单提交编码不一致,请务必设置成一样,属性名分别为postCharset!"); |
|
| 372 | throw new Exception("文件编码:[" . $this->fileCharset . "] 与表单提交编码:[" . $this->postCharset . "]两者不一致!"); |
|
| 373 | } |
|
| 374 | ||
| 375 | $iv = null; |
|
| 376 | ||
| @@ 31-35 (lines=5) @@ | ||
| 28 | $this->setupCharsets($request); |
|
| 29 | ||
| 30 | // // 如果两者编码不一致,会出现签名验签或者乱码 |
|
| 31 | if (strcasecmp($this->fileCharset, $this->postCharset)) { |
|
| 32 | ||
| 33 | // writeLog("本地文件字符集编码与表单提交编码不一致,请务必设置成一样,属性名分别为postCharset!"); |
|
| 34 | throw new Exception("文件编码:[" . $this->fileCharset . "] 与表单提交编码:[" . $this->postCharset . "]两者不一致!"); |
|
| 35 | } |
|
| 36 | ||
| 37 | $iv = null; |
|
| 38 | ||