Skip to content

hostcalls::get_map crashes Envoy when an HTTP header value is not a UTF-8 encoded string #25

Open
@yskopets

Description

Summary

  • HTTP spec allows arbitrary octets in header values
  • However, Rust SDK is using String type that is limited to UTF-8 strings only
  • hostcalls::get_map panics when an HTTP request contains a header with a value that is not a UTF-8 encoded string

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