runner icon indicating copy to clipboard operation
runner copied to clipboard

Liquorix kernel breaks self-hosted install

Open Jire opened this issue 3 years ago • 1 comments

unknown

When trying to use config.sh

Jire avatar Sep 30 '22 00:09 Jire

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent

We use dotnet's OSDescription to get a string that we then include in our UserAgent header as a ProductInfoHeaderValue.

The constructor of ProductInfoHeaderValue validates if a string is compliant with UserAgent formatting. There aren't many requirements, but one of them is matching brackets -> () Brackets represent a comment in a UserAgent.

Liquorix has an OS description that contains mismatched brackets, so the constructor of ProductInfoHeaderValue throws.

I'd probably go with dropping all () to prevent nested UserAgent comments

fhammerl avatar Nov 29 '22 14:11 fhammerl