tangled
alpha
login
or
join now
mackuba.eu
/
tootify
Toot toooooooot (Bluesky-Mastodon cross-poster)
1
fork
atom
overview
issues
pulls
pipelines
fixed images failing if they have non-ascii chars in alt
mackuba.eu
2 years ago
cb1b73da
af9545b3
options
unified
split
Changed files
+1
-1
app
mastodon_api.rb
+1
-1
app/mastodon_api.rb
···
71
71
72
72
form_data = [
73
73
['file', data, { :filename => filename, :content_type => content_type }],
74
74
-
['description', alt.to_s]
74
74
+
['description', alt.to_s.force_encoding('ASCII-8BIT')]
75
75
]
76
76
77
77
request = Net::HTTP::Post.new(url, headers)