Skip to content

Config server /encrypt endpoint ignores "+" in keys during encryption #204

@atoregozh

Description

@atoregozh

When trying to encrypt keys by POSTing to the /encrypt endpoint of config server I noticed that it ignores "+"s in keys and substitutes them with spaces.
Example:
image

  • Leaving off the double quotes in encryption string doesn't change the output.
  • When I use spring command line client, it encrypts and decrypts the values correctly.

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