Given a ResourceReader with scheme "foo+bar.baz", calling EvaluatorOptions.preconfigured().withResourceReader(reader) yields options with allowedResources containing "foo+bar.baz:", which does not match the literal string "foo+bar.baz" when reading a resource in evaluated Pkl code, resulting in a "Refusing to read resource " error.
The scheme should be automatically escaped by these convenience methods.