| 1 | <?php |
||
| 7 | class Compat |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Due to a conception mistake, the access token was returned with some POST request in the early stage of MX API V2.0 and was removed from it. |
||
| 11 | * This patch fix potential access_token present in the header Location |
||
| 12 | * |
||
| 13 | * @param string $url |
||
| 14 | * |
||
| 15 | * @return string |
||
| 16 | */ |
||
| 17 | public static function cleanHeaderLocation($url) |
||
| 35 | } |
||
| 36 |