eclipse-vertx / vertx-codegen

Vert.x code generator for asynchronous polyglot APIs
Apache License 2.0
105 stars 92 forks source link

Fix base64 codec #313

Closed pmlopes closed 4 years ago

pmlopes commented 4 years ago

Signed-off-by: Paulo Lopes pmlopes@gmail.com

Motivation:

Core has been changed here:

https://github.com/eclipse-vertx/vert.x/pull/3197

To correctly implement the RFC7493

However codegen still used the wrong codec and there was no way to support the correct one.

This PR fixes the codegen to use the exact same codec as core and also respect the config flag to switch to the old/legacy codec if core also so does.