Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

[BUG]: missing HTTP headers sanitization in msgraph-cli/whole .NET Core #477

@nazarewk

Description

@nazarewk

I don't want to spend a day trying to find the right place to file the bug, but looks like whatever msgraph-cli uses does sanitize the HTTP Header values properly.

Latest version of NixOS has a unicode character in release codename Vicuña:

  1. which gets written to /etc/lsb-release and /etc/os-release
  2. which gets read by the library into HTTP Header as-is without any sanitization: User-Agent:azsdk-net-Identity/1.10.4 (.NET 8.0.5; NixOS 24.11 (Vicuña))
  3. which throws: Request headers must contain only ASCII characters.

related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Attention 👋ToTriagepriority:p1High priority/Major issue but not blocking or Big percentage of customers affected.Bug SLA <=7daystype:bugA broken experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions