Bug 492672 - --no-content-disposition option aborts wget
Summary: --no-content-disposition option aborts wget
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: wget
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Karsten Hopp
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-27 22:48 UTC by Bryan Mason
Modified: 2018-10-20 03:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-02 09:38:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Proposed patch from upstream. (592 bytes, patch)
2009-03-27 22:48 UTC, Bryan Mason
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1280 0 normal SHIPPED_LIVE wget bug fix update 2009-09-01 09:48:43 UTC

Description Bryan Mason 2009-03-27 22:48:57 UTC
Created attachment 337075 [details]
Proposed patch from upstream.

Description of problem:

    Using the "--no-content-disposition" option with wget aborts.

Version-Release number of selected component (if applicable):

    wget-1.10.2-7.el5.x86_64
    
How reproducible:

    100%

Steps to Reproduce:

    1.  wget --no-content-disposition www.redhat.com
  
Actual results:

    $ wget --no-content-disposition www.redhat.com
    wget: init.c:612: setval_internal: Assertion `0 <= comind && comind < 
    (sizeof (commands) / sizeof ((commands)[0]))' failed.
    Aborted

Expected results:

    $ wget --no-content-disposition www.redhat.com
    --15:45:44--  http://www.redhat.com/
    Resolving www.redhat.com... 209.132.177.50
    Connecting to www.redhat.com|209.132.177.50|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 13056 (13K) [text/html]
    Saving to: `index.html'

    100%[=======================================>] 13,056    --.-K/s   in 0.1s

    15:45:45 (108 KB/s) - `index.html' saved [13056/13056]

Additional info:

    Fixed upstream:
        http://addictivecode.org/svn/wget?view=rev&revision=2176

    Patch attached.    I've verified that the patch fixes the issue.

Comment 1 Phil Knirsch 2009-04-20 12:51:29 UTC
As we're rebasing wget for RHEL-5.4 this will automatically get fixed.

Granting Devel ACK. As we're still pre-Beta i'm not requesting an Exception yet.

Thanks & regards, Phil

Comment 6 errata-xmlrpc 2009-09-02 09:38:50 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1280.html


Note You need to log in before you can comment on or make changes to this bug.