X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f8b04635a79cf23a30ae1c80029d8c33f34f8424..5f7dd9d8b378ee532e29f6b49fc745cf9b949e5b:/app/helpers/social_share_button_helper.rb diff --git a/app/helpers/social_share_button_helper.rb b/app/helpers/social_share_button_helper.rb index da49347c3..13a9f9e9e 100644 --- a/app/helpers/social_share_button_helper.rb +++ b/app/helpers/social_share_button_helper.rb @@ -35,8 +35,8 @@ module SocialShareButtonHelper def generate_share_url(site, title, url) site = site.to_sym - title = URI.encode_www_form_component(title) - url = URI.encode_www_form_component(url) + title = URI.encode_uri_component(title) + url = URI.encode_uri_component(url) case site when :email