Skip to content

Commit 0398c04

Browse files
authored
Merge pull request #368 from php-http/fix-https-regex
Update http_message.html.twig
2 parents bc70bbe + c4e2356 commit 0398c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Resources/views/http_message.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<tr>
2222
<th>{{ row[0] }}</th>
2323
<td>
24-
{% if value matches '#^http(?s)://#' %}
24+
{% if value matches '#^https?://#' %}
2525
<a href="{{ value }}">{{ value }}</a>
2626
{% else %}
2727
{{ value }}

0 commit comments

Comments
 (0)