Skip to content

Backwards-incompatible change in cf curl behavior #788

@mdelillo

Description

@mdelillo

This change is causing acceptance test suites (cf-acceptance-tests, cf-redis-smoke-tests, cf-rabbitmq-smoke-tests) to fail. Empty input to the -d flag should be ignored, as it was in versions 6.15.0 and before. It looks like the breaking code was added here.

Command

cf curl /v2/info -d ""

CLI Version

6.16.0, 6.16.1

Error

FAILED
invalid input:

CF Trace

$ CF_TRACE=true cf curl /v2/info -d ""
FAILED
invalid input:
FAILED
invalid input:

Platform Details

Mac OS X 10.10.3

Shell

iTerm

Thanks,
@mdelillo @sclevine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions