]> git.ipfire.org Git - ipfire-2.x.git/commit
Fix bug 10504: match download's sourceurl mangling in, updxlrator
authorJustin Luth <jluth@mail.com>
Fri, 29 Dec 2017 14:12:27 +0000 (17:12 +0300)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 7 Jan 2018 19:27:47 +0000 (19:27 +0000)
commit39c0b5b3bcd9d4cf57437d1988df834a1800c66c
tree522b492029d797969f376fd1f23086291f8d3d5a
parente7bf3de34b8e382b229338377d9f20342bdc6bf6
Fix bug 10504: match download's sourceurl mangling in, updxlrator

Updatexlrator stores its files in a hash of the URL.

The download utility mangles the URL for [+/~], but
the updxlrator only does it for [/]. Thus, download
stores the result as one hash, and updxlrator looks for it
with a different hash. The result is that the file is
re-downloaded every time by both the client, and updxlrator.

This is fixed by making updxlrator mangle the url in the
same way as the downloader. apt-get install g++ would
be a good test for this.

Signed-off-by: Justin Luth  <jluth@mail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/updxlrator/updxlrator