mono/MonoGame — pull request #1164 by d-snp (2013-01-09 04:26:48+00:00)
Title: Fix xnb loading bug in ContentManager

When loading a xnb file that has one or more subresources those subresources could not be loaded.

The bug results from the (unintuitive) behaviour of Path.Combine which ignores parameters that it thinks are absolute paths. In this case the submodel has a path that is prefixed with a '/' and path.combine assumes it is absolute.

This commit fixes it by checking if there is a '/' prefix and if there is removing it.