HomePhorge

(PUP-3272) Remove special treatment of YAML encoded parameters
3b24b7e8bf78Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3272) Remove special treatment of YAML encoded parameters

When it was allowed to pass YAML on the network it was also allowed to
pass parameters that were YAML encoded. The 3x logic had deprecation
warnings in place for these places.

Now in 4x, when YAML is no longer supported, the request parameters are
simply always strings. If someone yaml encodes data and sets it in a
parameter this has no special meaning - it is just a string that happens
to contain yaml (e.g. "--- \n 'foo'\n").

This means that it is now ok to have parameters that look like YAML but
it is not - this could cause problems earlier.

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUc15a89461226: (PUP-3272) Change Status yaml deserialization to support psych
Branches
Unknown
Tags
Unknown

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPU3b24b7e8bf78: (PUP-3272) Remove special treatment of YAML encoded parameters (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Nov 6 2014, 1:40 AM