Closed eserte closed 7 years ago
This does seem to be tangentially-related to the Mojolicious change in 7.18 which adds the new Mojo::File API, but it seems more to be one of those things where it accidentally worked in the Mercury test, and it should indeed never have worked correctly: Mojolicious::Plugin::Config has always looked for config files "relative to the application home directory" (unless they were absolute paths). That somehow the test worked before this is surprising (and incorrect), though why I was unable to reproduce it using my standard dev environment was obvious (given an app module path of lib/Mercury.pm
, the "home" directory gets set to lib/..
, which meant that t/share/allow_origin.conf
was correct).
So, this is an easy fix, and I'll have a new release out shortly. Thanks for the report and the analysis!
The t/allow_origin.t test started to fail on my smokers:
Statistical analysis suggests that this happens with newer Mojolicious versions: