File tree 2 files changed +9
-11
lines changed
2 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 7
7
{% endif %}
8
8
<span class =" label httplug-method httplug-method-{{ stack .requestMethod | lower }}" >{{ stack .requestMethod }}</span >
9
9
</div >
10
- {% apply spaceless %}
11
- <div class =" label httplug-stack-header-target" >
12
- <span class =" httplug-scheme" >{{ stack .requestScheme }}://</span >
13
- <span class =" httplug-host" >{{ stack .requestHost }}</span >
14
- {% if stack .requestPort not in [null , 80 , 443 ] %}
15
- <span class =" httplug-port" >:{{ stack .requestPort }}</span >
16
- {% endif %}
17
- <span class =" httplug-target" >{{ (stack .requestTarget | default (' /' ) starts with ' /' ? ' ' : ' /' ) ~ stack .requestTarget }}</span >
18
- </div >
19
- {% endapply %}
10
+ <div class =" label httplug-stack-header-target" >
11
+ <span class =" httplug-scheme" >{{ stack .requestScheme }}://</span >
12
+ <span class =" httplug-host" >{{ stack .requestHost }}</span >
13
+ {% if stack .requestPort not in [null , 80 , 443 ] %}
14
+ <span class =" httplug-port" >:{{ stack .requestPort }}</span >
15
+ {% endif %}
16
+ <span class =" httplug-target" >{{ (stack .requestTarget | default (' /' ) starts with ' /' ? ' ' : ' /' ) ~ stack .requestTarget }}</span >
17
+ </div >
20
18
<div >
21
19
<span class =" label httplug-duration" >{{ stack .duration | number_format }} ms</span >
22
20
{% if stack .responseCode >= 400 and stack .responseCode <= 599 %}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public function testShowProfiler(): void
28
28
$ client ->request ('GET ' , '/_profiler/latest?panel=httplug ' );
29
29
$ content = $ client ->getResponse ()->getContent ();
30
30
$ this ->assertStringContainsString (<<<HTML
31
- <div class="label httplug-stack-header-target">< span class="httplug-scheme">https://</span><span class="httplug- host">jsonplaceholder.typicode.com</span><span class="httplug-target">/posts/1</span></div >
31
+ < span class="httplug-host">jsonplaceholder.typicode.com</span>
32
32
HTML , $ content );
33
33
}
34
34
}
You can’t perform that action at this time.
0 commit comments