Skip to content

Commit

Permalink
Escape asset_tag attribute at controller level for consumption in bul…
Browse files Browse the repository at this point in the history
…k checkout
  • Loading branch information
uberbrady committed Nov 9, 2021
1 parent edf98cb commit 3ea209a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/AssetsController.php
Expand Up @@ -910,7 +910,7 @@ public function audit(Request $request) {
}
}

return response()->json(Helper::formatStandardApiResponse('error', ['asset_tag'=> e($request->input('asset_tag'))], 'Asset with tag '.$request->input('asset_tag').' not found'));
return response()->json(Helper::formatStandardApiResponse('error', ['asset_tag'=> e($request->input('asset_tag'))], 'Asset with tag '.e($request->input('asset_tag')).' not found'));



Expand Down

0 comments on commit 3ea209a

Please sign in to comment.