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 f0c0800 commit 612e24fCopy full SHA for 612e24f
laravel/app/Http/Repository/ToolRepository.php
@@ -53,7 +53,7 @@ public function stringToHex($str)
53
*/
54
public function hexToString($input)
55
{
56
- $hex = strtoupper($input);
+ $hex = strtoupper(trim($input));
57
$hex = str_replace(['\\X', 'X'], '', $hex);
58
if (!preg_match("/^[A-Fa-f0-9]+$/", $hex)) {
59
return '';
0 commit comments