Skip to content

Commit 98cf2c5

Browse files
authored
Fix issue with whitespaces in URL when URL in tab was copied (#402)
1 parent 9b46d82 commit 98cf2c5

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
The change log describes what is "Added", "Removed", "Changed" or "Fixed" between each release.
44

5+
# 1.23.1
6+
- Fix issue with whitespaces in URL when URL in tab was copied
7+
58
# 1.23.0 - 2021-08-30
69

710
- Changed the way request/response body is displayed in profiler. symfony/var-dumper is used now.

src/Resources/views/stack.html.twig

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@
77
{% endif %}
88
<span class="label httplug-method httplug-method-{{ stack.requestMethod|lower }}">{{ stack.requestMethod }}</span>
99
</div>
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-
<span class="httplug-target">{{ stack.requestTarget }}</span>
14-
</div>
10+
{% 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+
<span class="httplug-target">{{ stack.requestTarget }}</span>
15+
</div>
16+
{% endspaceless %}
1517
<div>
1618
<span class="label httplug-duration">{{ stack.duration|number_format }} ms</span>
1719
{% if stack.responseCode >= 400 and stack.responseCode <= 599 %}

0 commit comments

Comments
 (0)