Skip to content

Commit fec7b57

Browse files
committed
Unescaping slashes.
1 parent 4618e63 commit fec7b57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function _http_client_setopts($ch, $method, $payload, $request_headers_assoc, $c
9999
}
100100
elseif (false !== strpos($request_headers_assoc['content-type'], 'application/json'))
101101
{
102-
$payload = json_encode($payload);
102+
$payload = str_replace('\\/', '/', json_encode($payload));
103103
}
104104
}
105105
else

0 commit comments

Comments
 (0)