bugGNU Wget - Bugs: bug #47883, wget: incorrect output filename

 
 

bug #47883: wget: incorrect output filename

Submitted by:  Jeff Bai <jeffbai>
Submitted on:  Tue 10 May 2016 03:53:32 AM UTC  
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  trunk Operating System:  GNU/Linux
Reproducibility:  Every Time Fixed Release:  None
Planned Release:  None Regression:  No
Work Required:  None Patch Included:  No

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 10 May 2016 08:26:36 AM UTC, comment #1: 

Thanks for your report.

This problem has been fixed in branch 'master', not released yet.

Tim Ruehsen <rockdaboot>
Project Administrator
Tue 10 May 2016 03:53:32 AM UTC, original submission:  

As mentioned in https://savannah.gnu.org/bugs/?47882, when downloading a file with the command below.

wget '202.38.70.145:555/中文中文中文中文'

The resulting ouput:

jeffbai [ ~ ] $ wget '202.38.70.145:555/中文中文中文中文'
--2016-05-09 21:48:46-- http://202.38.70.145:555/%E4%B8%AD%E6%96%87%E4%B8%AD%E6%96%87%E4%B8%AD%E6%96%87%E4%B8%AD%E6%96%87
正在连接 202.38.70.145:555... 已连接。
已发出 HTTP 请求,正在等待回应... 200 没有 HTTP 头,假定为 HTTP/0.9
长度:未指定
正在保存至: “中\346%96%87中\346%96%87中\346%96%87中\346%96%87”

中�%96%87中�%96%87中�%96% [ <=> ] 113 --.-KB/s 用时 0s

2016-05-09 21:48:47 (15.8 MB/s) - “中\346%96%87中\346%96%87中\346%96%87中\346%96%87” 已保存 [113]

Shows an incorrect output filename. The file name requested, "中文中文中文中文" is output'd to a completely different one, "中\346%96%87中\346%96%87中\346%96%87中\346%96%87". And it is also problematic in a sense that the output'd file cannot be deleted easily.

I have tested this on wget releases 1.16.0 - 1.17.1, in which case, all returned with same, problematic results.

Jeff Bai <jeffbai>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rockdaboot (Posted a comment)
  • -email is unavailable- added by jeffbai (Submitted the item)
  •  

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-05-10 rockdaboot StatusNone => Fixed
        Open/ClosedOpen => Closed
        Release1.17.1 => trunk

    Back to the top


    Powered by Savane 3.5