Closed drgrice1 closed 1 week ago
Pick between #2432 and this pull request. Would we rather require a newer version of Mojolicious, or allow the older version to still work? Now taking votes. To rephrase the vote in terms of deprecation: Do we deprecate usage of Mojolicious 9.22 for webwork2?
It's funny how you can affect the outcome of a vote just by the way you phrase the question.
RHEL 8 packages Mojolicious 8.42. Ubuntu 24.04 currently packages 9.35.
That means that RHEL users will need to install Mojolicious from CPAN regardless, and Ubuntu 24 users should be able to use the packaged version. Based on this I'm fine with requiring the newer version of Mojolicious.
In the
WeBWorK::Utils::Files::readFile
method UTF-8 decode the file contents after calling theMojo::File::slurp
without passing the UTF-8 decode parameter.This is an alternate approach to #2432 that makes it so that version 9.22 of Mojolicious (the version in the Ubuntu 22.04 repositories) can still be used.