Issue #1209226 by catch, Berdir, miro_dietiker, beejeebus, dagmar: Fixed Avoid slow query for path alias whitelists.
Issue #1910318 by katbailey: Make path resolution the responsibility of a series of PathProcessor classes, rather than one PathSubscriber class.