https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299084
Bug ID: 299084
Summary: libfetch: Localizes the "If-Modified-Since" header
Product: Base System
Version: 16.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
libfetch uses strftime(.., "%a") to generate value for the "If-Modified-Since"
header. If the process that uses libfetch runs with non-English locale, the
HTTP request ends up looking like
GET /meta.conf HTTP/1.1
If-Modified-Since: сб, 26 сент. 2026 14:58:15 GMT
instead of
If-Modified-Since: Sat, 26 Sep 2026 14:58:15 GMT
I think libfetch clients should not bother cleaning the environment before
trying to fetch something?
Problem's context:
https://github.com/freebsd/pkg/issues/2742#issuecomment-5854328833
--
You are receiving this mail because:
You are the assignee for the bug.