We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6bb15e commit f0c0800Copy full SHA for f0c0800
laravel/app/Http/Repository/ToolRepository.php
@@ -54,7 +54,7 @@ public function stringToHex($str)
54
public function hexToString($input)
55
{
56
$hex = strtoupper($input);
57
- $hex = str_replace('\\X', '', $hex);
+ $hex = str_replace(['\\X', 'X'], '', $hex);
58
if (!preg_match("/^[A-Fa-f0-9]+$/", $hex)) {
59
return '';
60
}
0 commit comments