Files
buildroot/package
Arnout Vandecappelle 8740f321fc pkg-download: fix fetching URLs with ? from PRIMARY/BACKUP
Some packages download files (especially patches) with a ? in the
URL. The ? marks the query part of the URL. However, the downloaded
file still contains the ? but from then on it doesn't designate a
query part anymore. Therefore, when fetching from PRIMARY or
BACKUP site over http, the server will report a 404 Not Found.

To fix, we need to replace the ? with %3F. Obviously, this should
be done only when fetching from PRIMARY or BACKUP. For fetching
from the real upstream, the ? really does designate the query part.

Fixes #9371.

Reported-by: Johan Derycke <johanderycke@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: replace 'SECONDARY' by 'BACKUP'.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-23 14:51:16 +02:00
..
2016-09-07 21:48:44 +02:00
2016-09-02 23:05:35 +02:00
2016-08-30 22:49:13 +02:00
2016-09-12 23:13:44 +02:00
2016-10-15 12:26:13 +02:00
2016-09-20 20:07:59 +02:00
2016-10-07 22:58:00 +02:00
2016-09-16 18:44:54 +02:00
2016-09-20 19:03:46 +02:00
2016-10-11 12:17:27 +02:00
2016-10-05 09:53:01 +02:00
2016-10-22 22:26:32 +02:00
2016-10-13 08:02:27 +02:00
2016-10-13 08:05:38 +02:00
2016-08-23 17:58:17 +02:00
2016-10-02 00:11:12 +02:00
2016-10-19 11:20:52 +02:00
2016-10-05 09:55:48 +02:00
2016-10-05 22:54:09 +02:00
2016-09-21 22:25:21 +02:00
2016-09-08 19:48:29 +02:00
2016-09-08 22:15:15 +02:00
2016-09-08 20:36:05 +02:00
2016-10-14 09:32:29 +02:00
2016-10-16 17:49:50 +02:00
2016-09-08 22:15:15 +02:00
2016-08-26 22:53:46 +02:00
2016-10-14 19:32:43 +02:00
2016-09-21 23:32:10 +02:00
2016-10-13 08:01:55 +02:00
2016-09-25 23:17:26 +02:00
2016-10-13 08:05:51 +02:00
2016-10-19 11:24:33 +02:00
2016-10-03 13:10:37 +02:00
2016-08-31 16:29:58 +02:00
2016-09-12 22:51:39 +02:00
2016-09-25 23:17:32 +02:00
2016-08-31 16:30:16 +02:00
2016-10-19 13:02:18 +02:00
2016-10-16 13:12:29 +02:00
2016-09-28 13:40:01 +02:00
2016-10-20 21:34:32 +02:00
2016-10-15 11:24:50 +02:00
2016-09-14 16:46:26 +02:00
2016-10-11 11:22:58 +02:00
2016-10-19 23:31:59 +02:00
2016-10-20 21:34:26 +02:00
2016-10-21 09:17:05 +02:00
2016-09-14 21:45:58 +02:00
2016-09-06 21:30:55 +02:00
2016-09-06 22:26:28 +02:00
2016-10-12 22:28:22 +02:00
2016-10-20 21:34:22 +02:00
2016-10-02 16:21:02 +02:00
2016-08-29 17:54:07 +02:00
2016-09-15 11:56:02 +02:00
2016-10-16 13:07:08 +02:00
2016-10-16 18:04:11 +02:00
2016-08-23 17:56:32 +02:00
2016-10-13 08:04:13 +02:00
2016-09-07 12:04:32 +02:00
2016-08-27 14:45:21 +02:00
2016-09-20 20:07:55 +02:00
2016-10-22 16:45:06 +02:00
2016-09-16 18:38:34 +02:00
2016-09-08 22:15:15 +02:00
2016-10-19 17:57:18 +02:00
2016-09-21 22:29:07 +02:00
2016-10-16 15:11:35 +02:00
2016-10-05 22:57:54 +02:00
2016-09-02 16:20:33 +02:00
2016-10-07 14:47:41 +02:00
2016-09-28 22:14:00 +02:00
2016-10-03 13:11:03 +02:00
2016-10-01 23:11:11 +02:00
2016-08-23 17:59:06 +02:00
2016-10-19 23:36:48 +02:00
2016-09-06 21:30:55 +02:00
2016-09-06 21:30:55 +02:00
2016-09-28 13:40:04 +02:00
2016-09-06 21:30:55 +02:00
2016-10-13 08:02:50 +02:00
2016-10-13 08:06:42 +02:00
2016-09-05 21:07:40 +02:00
2016-09-06 21:30:55 +02:00
2016-10-02 16:19:47 +02:00
2016-10-02 16:21:31 +02:00
2016-09-28 15:45:21 +02:00
2016-08-24 18:52:33 +02:00
2016-10-19 17:38:05 +02:00
2016-10-22 14:56:09 +02:00
2016-08-27 14:45:08 +02:00
2016-10-14 16:52:08 +02:00
2016-10-03 13:15:22 +02:00
2016-09-02 16:20:33 +02:00
2016-08-23 23:14:36 +02:00
2016-08-20 22:39:26 +02:00
2016-10-01 10:00:17 +02:00
2016-10-07 15:49:59 +02:00
2016-09-14 21:46:04 +02:00
2016-10-04 14:43:34 +02:00
2016-10-14 09:26:35 +02:00
2016-10-15 12:10:20 +02:00
2016-10-15 11:34:32 +02:00
2016-09-05 21:07:39 +02:00
2016-09-02 16:20:33 +02:00
2016-08-26 16:16:59 +02:00
2016-08-25 15:21:32 +02:00
2016-10-20 23:26:21 +02:00
2016-08-21 22:23:02 +02:00
2016-09-23 07:59:58 +02:00
2016-10-22 14:58:07 +02:00
2016-09-08 22:15:15 +02:00
2016-10-19 09:46:51 +02:00
2016-09-19 19:28:14 +02:00
2016-09-24 16:40:10 +02:00
2016-09-09 17:01:29 +02:00
2016-10-02 21:22:27 +02:00
2016-09-02 23:05:33 +02:00
2016-09-20 21:04:52 +02:00
2016-10-14 16:51:47 +02:00
2016-10-05 22:54:13 +02:00
2016-09-24 16:40:10 +02:00
2016-10-13 15:56:21 +02:00
2016-09-30 11:56:36 +02:00
2016-08-27 15:27:29 +02:00
2016-10-23 14:25:17 +02:00
2016-10-15 12:23:39 +02:00
2016-09-26 22:37:51 +02:00
2016-10-12 13:55:58 +02:00
2016-10-13 07:38:49 +02:00
2016-09-25 23:16:48 +02:00
2016-09-25 23:17:06 +02:00
2016-10-09 14:06:04 +02:00
2016-10-22 15:30:51 +02:00
2016-10-11 12:28:52 +02:00
2016-09-25 21:58:07 +02:00
2016-10-20 22:58:58 +02:00
2016-10-16 18:04:11 +02:00