Skip to content

Commit bd7a687

Browse files
authored
Fix tooltip url (#1735)
1 parent 67e1bbd commit bd7a687

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/DataCollector/RequestCollector.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,10 @@ public function collect()
186186
$htmlData['telescope'] = '<a href="' . $url . '" target="_blank">View in Telescope</a>';
187187
}
188188

189-
$tooltip = Arr::only($data, ['status', 'full_url']);
189+
$tooltip = [
190+
'status' => $data['status'],
191+
'url' => Str::limit($request->fullUrl(), 100),
192+
];
190193

191194
if ($this->request instanceof Request) {
192195
$tooltip += [

0 commit comments

Comments
 (0)