Skip to content

Slash-Quotted String in noCache header #745

Open
@dboulay

Description

@dboulay

We are using the method:
getResponse().getCacheDirectives().add(CacheDirective.noCache("Set-Cookie"));
and the generated header is:
Cache-Control: no-cache=""Set-Cookie""

As you can see the second parameter is not correctly written.
After some investigations I thing the problem is somewhere in
org.restlet.engine.http.header.HeaderWriter.appendExtension which is not considering the value as a valid token (because the value contains double quotes).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions