X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/07fc605923eb6f64318b9559d3eecf979789ae3e..bcf5782fb5a3a916ea036ce78ecd2a1208ace87f:/app/helpers/social_share_button_helper.rb?ds=sidebyside 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