diff --git a/lib/bundle/mac_app_store_dumper.rb b/lib/bundle/mac_app_store_dumper.rb index 764c383fe..f3548985e 100644 --- a/lib/bundle/mac_app_store_dumper.rb +++ b/lib/bundle/mac_app_store_dumper.rb @@ -16,6 +16,7 @@ def apps app_details = app.match(/\A(?\d+)\s+(?.*?)\s+\((?[\d.]*)\)\Z/) # Only add the application details should we have a valid match. + # Strip unprintable characters [app_details[:id], app_details[:name].gsub(/[[:cntrl:]]|[\p{C}]/, "")] if app_details end else