File tree 2 files changed +8
-8
lines changed
lib/pact_broker/ui/views/index
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 37
37
%tr
38
38
%td .consumer
39
39
%a {:href => index_item.consumer_group_url }
40
- = index_item.consumer_name
40
+ = escape_html( index_item.consumer_name)
41
41
%td.consumer-version-number
42
42
%div
43
- = index_item.consumer_version_number
43
+ = escape_html( index_item.consumer_version_number)
44
44
- if index_item.latest?
45
45
.tag.label.label-success
46
46
latest
47
47
- index_item.consumer_version_latest_tag_names.each do | tag_name |
48
48
.tag.label.label-primary
49
- = tag_name
49
+ = escape_html( tag_name)
50
50
%td.pact
51
51
%span.pact
52
52
%a{ href: index_item.pact_url, title: "View pact" }
53
53
%span .pact-matrix
54
54
%a { href: index_item.pact_matrix_url, title: "View pact matrix" }
55
55
%td .provider
56
56
%a { href: index_item.provider_group_url }
57
- = index_item.provider_name
57
+ = escape_html( index_item.provider_name)
58
58
%td .provider-version-number
59
59
%div
60
- = index_item.provider_version_number
60
+ = escape_html( index_item.provider_version_number)
61
61
- index_item.provider_version_latest_tag_names.each do | tag_name |
62
62
.tag.label.label-primary
63
- = tag_name
63
+ = escape_html( tag_name)
64
64
%td
65
65
= index_item.publication_date_of_latest_pact.gsub(" about " , "" )
66
66
%td { class: index_item.webhook_status }
Original file line number Diff line number Diff line change 33
33
%td
34
34
%td .consumer
35
35
%a { href: index_item.consumer_group_url }
36
- = index_item.consumer_name
36
+ = escape_html( index_item.consumer_name)
37
37
%td .pact
38
38
%span .pact
39
39
%a { href: index_item.latest_pact_url, :title => " View pact" }
40
40
%span.pact-matrix
41
41
%a{ href: index_item.pact_matrix_url, title: "View pact matrix" }
42
42
%td .provider
43
43
%a { href: index_item.provider_group_url }
44
- = index_item.provider_name
44
+ = escape_html( index_item.provider_name)
45
45
%td
46
46
%td
47
47
= index_item.publication_date_of_latest_pact
You can’t perform that action at this time.
0 commit comments