[openstreetmap/openstreetmap-website] Clean OSM.formatHash calls (PR #5887)
Marwin Hochfelsner
notifications at github.com
Tue May 6 18:19:21 UTC 2025
@hlfan commented on this pull request.
> @@ -23,6 +23,12 @@ def result_to_html(result)
safe_join(html)
end
+ def map_hash(params)
+ return "" unless params[:lat].present? && params[:lon].present?
+
+ "#map=#{params[:zoom].to_i || 17}/#{params[:lat].to_f}/#{params[:lon].to_f}"
Brakeman complained
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5887#discussion_r2076024916
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5887/review/2819227620 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250506/4df1c3b5/attachment.htm>
More information about the rails-dev
mailing list