You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With nokogiri 1.14.0 and rubyzip 2.3.2, running the code below fails with NoMethodError: undefined method 'external_encoding' for #<Zip::OutputStream:0x00000001241ec308>:
I'm not sure why Nokogiri calls external_encoding as as from the IO and Encoding docs external_encoding appears to be only for reading, but it also seems from the docs like just returning nil would be a legit implementation.
With nokogiri 1.14.0 and rubyzip 2.3.2, running the code below fails with
NoMethodError: undefined method 'external_encoding' for #<Zip::OutputStream:0x00000001241ec308>
:I'm not sure why Nokogiri calls
external_encoding
as as from the IO and Encoding docsexternal_encoding
appears to be only for reading, but it also seems from the docs like just returningnil
would be a legit implementation.(Cf. sparklemotion/nokogiri#2773)
The text was updated successfully, but these errors were encountered: