HomePhorge

(PUP-3177) Remove magic handling of square brackets in resource title
6563a6040877Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3177) Remove magic handling of square brackets in resource title

The Resource handles square brackets in a resource title as
if it is a complete resource reference. This behavior is there
to support the component resource type, and whits. The implementation
however did not check if a regular type was also given.

This means that any resource with square brackets in its title either
leads to an error, or to the creation of an instance of different
type/title than what was intended.

This commit fixes this by only doing the munging of the title if the
type is nil, component or a whit.

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU1681684857c6: Merge remote-tracking branch 'upstream/master' into stable
Branches
Unknown
Tags
Unknown

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPU6563a6040877: (PUP-3177) Remove magic handling of square brackets in resource title (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Sep 6 2014, 12:33 AM