Skip to content

Conversation

flavorjones
Copy link
Member

@flavorjones flavorjones commented Jan 23, 2022

#125 reported test failures when running with Nokogiri using system (unpatched) libxml2. This PR updates the tests to accept either form of output (the tests in question are specifically checking for escaped quotes and not escaped < and > characters).

The Nokogiri patch that affects this behavior is

nokogiri/patches/libxml2/0002-Update-entities-to-remove-handling-of-ssi.patch

which was introduced to avoid server-side-include vulnerabilities, see sparklemotion/nokogiri@4852e43

@flavorjones flavorjones force-pushed the 125-nokogiri-system-libraries branch 3 times, most recently from 58bc051 to 25bff81 Compare January 23, 2022 20:01
@flavorjones flavorjones force-pushed the 125-nokogiri-system-libraries branch from 25bff81 to 470ed3f Compare January 23, 2022 20:02
Specifically the patch that affects this behavior is

  nokogiri/patches/libxml2/0002-Update-entities-to-remove-handling-of-ssi.patch

which was introduced to avoid server-side-include vulnerabilities, see

  sparklemotion/nokogiri@4852e43
@flavorjones flavorjones marked this pull request as ready for review January 23, 2022 20:18
@flavorjones flavorjones merged commit dd44073 into master Jan 23, 2022
@flavorjones flavorjones deleted the 125-nokogiri-system-libraries branch January 23, 2022 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant