[openstreetmap/openstreetmap-website] Add Communities page (#3301)
Guillaume Rischard
notifications at github.com
Wed Oct 5 18:08:50 UTC 2022
@grischard commented on this pull request.
> @@ -0,0 +1,17 @@
+<% content_for :heading do %>
+ <h1><%= t ".title" %></h1>
+<% end %>
+
+<p class="lead"><%= t ".lede_text" %></p>
+
+<h2><%= t ".local_chapters.title" %></h2>
+<p><%= t ".local_chapters.about_text" %></p>
+<p><%= t ".local_chapters.list_text" %></p>
+<ul>
+ <% @local_chapters.each do |chapter| %>
+ <li><a href="<%= chapter.url %>"><%= t "osm_community_index.communities.#{chapter.id}.name" %></a></li>
Wouldn't this also be true for any other field? Could I call my IRC channel `#foo</a><script>alert(‘XSS’)</script>` for example?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3301#discussion_r988205783
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3301/review/1131843478 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221005/f1951208/attachment-0001.htm>
More information about the rails-dev
mailing list