Opened 3 hours ago

Last modified 21 minutes ago

#70973 new defect

base: curl isnewer failed on some mirror sites due to no user-agent set

Reported by: thelastlin (Xavier Hsinyuan) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.10.1
Keywords: haspatch Cc:
Port:

Description

port selfupdate might issue a warning about unable to check updates for portfiles with some mirror sites since the mirror deny all requests without a useragent.

It's known that https://mirrors.tuna.tsinghua.edu.cn by TUNA don't accept requests without useragent recently.

Workaround for MacPorts: set a useragent for curl isnewer (GitHub:PR#349)

Change History (1)

comment:1 Changed 21 minutes ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added; curl isnewer selfupdate removed
Note: See TracTickets for help on using tickets.