MDL-45256 portfolio: Unit tests for rewrite pluginfile urls
MDL-45256 portfolio: Do not require strict XML when parsing content