Curly quotes in a stored proxy URL crashed a download worker and stalled a queue

An alert revealed that a download worker was crash-looping at startup because a datacenter proxy URL in a secret store failed to parse. Two other services reading the same secret silently fell back to direct HTTP, bypassing their proxy tier. The root cause was typographic quote characters wrapped around the URL, which shells do not treat as quoting and which the secret store preserved as ordinary text. Go's URL parser produces different errors depending on where these characters sit, and a bare error check can miss some cases, so the host must also be verified. The quotes likely originated from Apple Notes' Smart Quotes feature, which converted characters typed by hand while pasted text stayed straight.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in