Bug 2803 - bake should not save redirect HTML with the name of the attempted archive
bake should not save redirect HTML with the name of the attempted archive
Status: PATCH WANTED
Product: bake
Classification: Unclassified
Component: bake
unspecified
All All
: P3 normal
Assigned To: Daniel Camara
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-19 19:31 EDT by Tom Henderson
Modified: 2017-10-19 19:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2017-10-19 19:31:56 EDT
for source archives, when the link is moved (redirect), bake may sometimes download HTML from the redirect but save it with the original filename, which is confusing.

http://www.ccnx.org/releases/ccnx-0.6.2.tar.gz

raises a download error, but leaves a plain text file with the target name.  The file has some HTML (from a redirect):

$ cat source/ccnx-0.6.2.tar.gz

<!DOCTYPE html>
<html lang="en" dir="ltr" class="client-nojs">
<head>
<meta charset="UTF-8"/>
<title>Cicn - fd.io</title>
...