Skip to content

Dealing with "null" encoding in RenderStream #5

Description

@guillaumeprevot

First of all, thank you for this great framework.

I found what looks like a bug in the org.debux.webmotion.server.render.RenderStream class (near line 76) :

if (encoding == null) {
    response.setCharacterEncoding(encoding);
} else {
    response.setCharacterEncoding(DEFAULT_ENCODING);
}

The code will use "encoding" if it's null instead of "DEFAULT_ENCODING".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions