mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 21:12:57 -05:00
An IPv6 address named as the CUPS server without brackets (`fd00::cafe`, or `fd00::cafe:8631` with a port) produced an IPP queue URI with the address unbracketed, which ipptool rejects, so a queue with no PPD and no lpoptions sizes listed no paper sizes. ipp_queue_uri now splits the host and port as cupsSetServer does, brackets an IPv6 host and encodes a zone separator as %25. The local PPD check ignored IPP_PORT, so `CUPS_SERVER=localhost` with `IPP_PORT=8631` read this machine's PPDs for another scheduler's queues. A server named without a port now takes the IPP_PORT port before the check. The IPP fallback and the local PPD check came in #10581.