[openstreetmap/openstreetmap-website] Clean OSM.formatHash calls (PR #5887)

Marwin Hochfelsner notifications at github.com
Tue May 6 18:19:22 UTC 2025


@hlfan commented on this pull request.



> @@ -81,7 +81,8 @@
 <% if params[:oauth_return_url] %>
   <a class="btn btn-primary" href="<%= params[:oauth_return_url] %>"><%= t ".continue_authorization" %></a>
 <% else %>
-  <a class="btn btn-primary start-mapping" href="<%= edit_path %>"><%= t ".start_mapping" %></a>
+  <%= editor_query = "?editor=#{params[:editor].to_s.split(/\W/)[0]}" if params[:editor].present?

Brakeman complained, again

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5887#discussion_r2076024995
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5887/review/2819227724 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250506/4ab1038c/attachment.htm>


More information about the rails-dev mailing list