Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CPAN-Meta CPAN distribution.

Report information
The Basics
Id: 84611
Status: open
Priority: 0/
Queue: CPAN-Meta

People
Owner: Nobody in particular
Requestors: dagolden [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Validation/conversion should have an option to disallow custom keys in 1.X
With the exception of 'resources', the 1.X specs don't say anything about custom keys. We have interpreted it liberally, so that custom keys are allowed (and upconverted to x_$name in v2). This may be inconsistent with other validators and some authors want a stricter option. The Validator and Converter classes should take an option for a stricter mode. Validation would not allow custom keys (outside 'resources' as defined) and conversion would delete custom keys.