Skip to content

Phone doesn't work with safe_yaml #38

@konklone

Description

@konklone

Loading YAML without extra Ruby-specific processing, which is now a best practice following the wave of security vulnerabilities earlier this year, means that the phone gem's YAML data is broken, because it uses symbol keys.

So when using safe_yaml, for example, this causes the symbol keys to be read as string keys, yielding validation errors on valid phone numbers.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions